20250830_031000.231 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_031000.231 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.236 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.237 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.237 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.237 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMjM3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTY5ZjAyYTktMTc1OS00ZWFkLThmYzUtMTcwZGFmZGE0OTNmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.238 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.237Z", "policies_count": 4, "update_id": "169f02a9-1759-4ead-8fc5-170dafda493f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.238 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-30T03:10:00.237Z", "policies_count": 4, "update_id": "169f02a9-1759-4ead-8fc5-170dafda493f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.238 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.239 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.237Z", "policies_count": 4, "update_id": "169f02a9-1759-4ead-8fc5-170dafda493f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.239 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_031000.240 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_031000.240 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yNDBaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2OTg4YTQ0Mi01ZTI5LTRiMjgtOGNkMi1mMjVkODUyOGFlZTgifQ=="}}] 20250830_031000.240 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.241 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.240Z", "policies_count": 0, "update_id": "6988a442-5e29-4b28-8cd2-f25d8528aee8"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.241 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.240Z", "policies_count": 0, "update_id": "6988a442-5e29-4b28-8cd2-f25d8528aee8"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.241 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_031000.241 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_031000.242 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.240Z", "policies_count": 0, "update_id": "6988a442-5e29-4b28-8cd2-f25d8528aee8"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.242 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_031000.242 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.240Z", "policies_count": 0, "update_id": "6988a442-5e29-4b28-8cd2-f25d8528aee8"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}} 20250830_031000.242 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.242 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.260 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.260 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.260 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.260 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.260 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250830_031000.261 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_031000.261 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.265 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_031000.266 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "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": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.266 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_031000.266 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.266 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.267 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.267 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.274 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.275 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.276 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMjc2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODY2YWY1NGUtYjZjZi00OGRlLTg0ZDYtNTVmYjU2ZTAwZTIwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.276 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.276Z", "policies_count": 4, "update_id": "866af54e-b6cf-48de-84d6-55fb56e00e20"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.277 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.276Z", "policies_count": 4, "update_id": "866af54e-b6cf-48de-84d6-55fb56e00e20"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.277 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.277 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.276Z", "policies_count": 4, "update_id": "866af54e-b6cf-48de-84d6-55fb56e00e20"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.277 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_031000.278 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_031000.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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yNzhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIyZTZlYTZiYi1mMmZhLTRiMWQtYjMyMS1lMjFiMmI2YjA1NmEifQ=="}}] 20250830_031000.279 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.279 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.278Z", "policies_count": 0, "update_id": "2e6ea6bb-f2fa-4b1d-b321-e21b2b6b056a"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.279 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250830_031000.279 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.278Z", "policies_count": 0, "update_id": "2e6ea6bb-f2fa-4b1d-b321-e21b2b6b056a"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}} 20250830_031000.279 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.280 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.293 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250830_031000.294 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.294 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.294 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.295 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.295 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.303 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.304 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.304 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMzA0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjNiZWE2NTAtOGRiMi00YjU0LTg3YmQtY2YzNWI5NDljYmU5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.305 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.304Z", "policies_count": 4, "update_id": "63bea650-8db2-4b54-87bd-cf35b949cbe9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.305 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.304Z", "policies_count": 4, "update_id": "63bea650-8db2-4b54-87bd-cf35b949cbe9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.305 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.306 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.304Z", "policies_count": 4, "update_id": "63bea650-8db2-4b54-87bd-cf35b949cbe9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_delete", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.306 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_031000.306 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.307 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.304Z", "policies_count": 4, "update_id": "63bea650-8db2-4b54-87bd-cf35b949cbe9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.307 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.320 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.321 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250830_031000.321 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_031000.321 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.325 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.326 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.326 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.327 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMzI2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNGYxMWRhMWYtNmQ0MC00ZWNiLTllMGItNzhjNTQwMjhkYzczIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.327 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.326Z", "policies_count": 4, "update_id": "4f11da1f-6d40-4ecb-9e0b-78c54028dc73"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.327 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-30T03:10:00.326Z", "policies_count": 4, "update_id": "4f11da1f-6d40-4ecb-9e0b-78c54028dc73"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.327 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.328 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.326Z", "policies_count": 4, "update_id": "4f11da1f-6d40-4ecb-9e0b-78c54028dc73"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.328 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_031000.329 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_031000.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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4zMjlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlYmZjNGQxNy0yNDhlLTRhZjEtYmY0Yy1jZTJjNDFmOTZjZDkifQ=="}}] 20250830_031000.329 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.330 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.329Z", "policies_count": 0, "update_id": "ebfc4d17-248e-4af1-bf4c-ce2c41f96cd9"}, "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}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.330 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_031000.330 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.330 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.331 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.329Z", "policies_count": 0, "update_id": "ebfc4d17-248e-4af1-bf4c-ce2c41f96cd9"}, "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}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.331 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.331 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4zMzFaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJhNmNmN2VkYy1jM2ZiLTRlOWMtODE3ZS05NDk4YjQ5OTkwNDIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.332 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.332 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.331Z", "policies_count": 2, "update_id": "a6cf7edc-c3fb-4e9c-817e-9498b4999042"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.332 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_031000.332 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.333 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.333 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.352 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.353 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.354 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.354 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMzU0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTYyMmMyNDktOWQ5ZC00NDE5LWEwOGEtY2E4MGJiNDY1ZmM1In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.354 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.354Z", "policies_count": 4, "update_id": "e622c249-9d9d-4419-a08a-ca80bb465fc5"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.354Z", "policies_count": 4, "update_id": "e622c249-9d9d-4419-a08a-ca80bb465fc5"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.355 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.356 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.356 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.356 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250830_031000.356 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250830_031000.356 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.366 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_031000.366 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "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": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.367 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_031000.367 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.367 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.367 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.367 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.374 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.374 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250830_031000.375 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_031000.375 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.378 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.378 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250830_031000.378 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.378 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250830_031000.378 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.383 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.384 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.384 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.385 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuMzg0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjFmNmU5ZWEtNDRiNy00N2ZhLWEzNjQtZjdjNDI2MWI4MjU2In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.385 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.384Z", "policies_count": 4, "update_id": "21f6e9ea-44b7-47fa-a364-f7c4261b8256"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.385 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.384Z", "policies_count": 4, "update_id": "21f6e9ea-44b7-47fa-a364-f7c4261b8256"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.385 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.386 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.386 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.386 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.384Z", "policies_count": 4, "update_id": "21f6e9ea-44b7-47fa-a364-f7c4261b8256"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.386 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.387 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.387 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4zODdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI0MzQyYWExMi05ZjY0LTQ3OGItYWFlOS1kNDMyM2Q2MWI3NGEifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.387 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.388 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.387Z", "policies_count": 4, "update_id": "4342aa12-9f64-478b-aae9-d4323d61b74a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.388 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_031000.388 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.388 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.389 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.389 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.389 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.389 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.389 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.404 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_031000.405 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "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": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.405 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_031000.405 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.405 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.406 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.406 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.414 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.415 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.415 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.415 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNDE1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjc4M2IyZTAtYjExYy00MjExLThlMzMtMTc1NjEwNzE3MDgwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.416 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.415Z", "policies_count": 4, "update_id": "b783b2e0-b11c-4211-8e33-175610717080"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.416 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.415Z", "policies_count": 4, "update_id": "b783b2e0-b11c-4211-8e33-175610717080"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.416 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.416 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.416 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.417 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.415Z", "policies_count": 4, "update_id": "b783b2e0-b11c-4211-8e33-175610717080"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.417 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.417 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.418 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC40MTdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI2OTE5MzhjMi1iNjI0LTQ5YmEtOGNmOS1jZWI4N2UwNDE4OGMifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.418 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.419 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.417Z", "policies_count": 4, "update_id": "691938c2-b624-49ba-8cf9-ceb87e04188c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.419 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250830_031000.419 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.419 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.419 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.419 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.420 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.420 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.420 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.435 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250830_031000.435 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.435 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250830_031000.435 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.436 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.436 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.436 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.443 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_031000.443 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.447 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.448 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.448 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNDQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmFjODc3YTAtNmI2Ni00NjQ5LTk0ZTQtN2ZlMmYzODJkZjE5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.449 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.448Z", "policies_count": 4, "update_id": "fac877a0-6b66-4649-94e4-7fe2f382df19"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.449 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-30T03:10:00.448Z", "policies_count": 4, "update_id": "fac877a0-6b66-4649-94e4-7fe2f382df19"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.449 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.449 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.459 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.460 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.461 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.461 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNDYxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWJjYjdiYTQtYWU1MC00ZDQ4LWE3MTYtMzA3YjE1ZDYyMTI1In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.461 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.461Z", "policies_count": 4, "update_id": "ebcb7ba4-ae50-4d48-a716-307b15d62125"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.462 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-30T03:10:00.461Z", "policies_count": 4, "update_id": "ebcb7ba4-ae50-4d48-a716-307b15d62125"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.462 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.462 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.462 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.463 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.461Z", "policies_count": 4, "update_id": "ebcb7ba4-ae50-4d48-a716-307b15d62125"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.463 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.463 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.463 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC40NjNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxZmRkNzg4Ni0zMTM0LTQ4ZGYtODE4Ny02ZGFhZWNlYjY1ZmMifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.464 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.464 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.463Z", "policies_count": 4, "update_id": "1fdd7886-3134-48df-8187-6daaeceb65fc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.465 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.466 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.482 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.483 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.483 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.483 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNDgzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiM2MwNzcwOTktYjM1Zi00NjgwLTg1OGItMTFjZTdjMTdlNDdkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.484 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.483Z", "policies_count": 4, "update_id": "3c077099-b35f-4680-858b-11ce7c17e47d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.484 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.483Z", "policies_count": 4, "update_id": "3c077099-b35f-4680-858b-11ce7c17e47d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.484 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.484 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.485 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}] 20250830_031000.485 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.483Z", "policies_count": 4, "update_id": "3c077099-b35f-4680-858b-11ce7c17e47d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.486 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20250830_031000.486 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}} 20250830_031000.486 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}]} 20250830_031000.486 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.483Z", "policies_count": 4, "update_id": "3c077099-b35f-4680-858b-11ce7c17e47d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.487 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.483Z", "policies_count": 4, "update_id": "3c077099-b35f-4680-858b-11ce7c17e47d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.487 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.487 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.487 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.503 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.504 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.504 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.505 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNTA0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzFmNGMxMjktZDU4OS00OTEwLWE5ZjctMTRhYWExNjY2NGJjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.505 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.504Z", "policies_count": 4, "update_id": "71f4c129-d589-4910-a9f7-14aaa16664bc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.505 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-30T03:10:00.504Z", "policies_count": 4, "update_id": "71f4c129-d589-4910-a9f7-14aaa16664bc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.506 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.506 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.504Z", "policies_count": 4, "update_id": "71f4c129-d589-4910-a9f7-14aaa16664bc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_delete", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.506 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_031000.506 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.507 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.507 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.504Z", "policies_count": 4, "update_id": "71f4c129-d589-4910-a9f7-14aaa16664bc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.507 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.521 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_031000.522 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "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": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.522 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_031000.522 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.522 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.523 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.523 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.531 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.532 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.532 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.532 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNTMyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTcwYzBmOWYtN2IyNi00ZThlLTlmZjAtZDY4MjIzNmE2NzExIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.532 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.532Z", "policies_count": 4, "update_id": "970c0f9f-7b26-4e8e-9ff0-d682236a6711"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.533 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.532Z", "policies_count": 4, "update_id": "970c0f9f-7b26-4e8e-9ff0-d682236a6711"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.533 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.533 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.532Z", "policies_count": 4, "update_id": "970c0f9f-7b26-4e8e-9ff0-d682236a6711"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.534 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_031000.534 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_031000.534 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC41MzRaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIwM2U3MTVlMS1hZThmLTRmN2YtOWU4Zi02ZjAxMWRmZDFkNGEifQ=="}}] 20250830_031000.535 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.535 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.534Z", "policies_count": 0, "update_id": "03e715e1-ae8f-4f7f-9e8f-6f011dfd1d4a"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.535 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.535 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.536 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.534Z", "policies_count": 0, "update_id": "03e715e1-ae8f-4f7f-9e8f-6f011dfd1d4a"}, "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}}, "execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.536 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.536 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.537 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC41MzZaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIxYTk5NzQwYi1mMjU5LTQ4NDEtYTExMC1jMDlmYTQ4Y2MzOWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.537 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.537 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.536Z", "policies_count": 2, "update_id": "1a99740b-f259-4841-a110-c09fa48cc39d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.538 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250830_031000.538 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.538 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.538 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.557 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.557 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.557 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.558 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250830_031000.558 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250830_031000.558 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_031000.563 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.564 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_031000.564 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"} 20250830_031000.564 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDM6MTA6MDAuNTY0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzRmNTg2OTYtOWRmYS00ZTZmLTg4MDMtNDdiZDRmNjAzMDExIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDY6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.565 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.564Z", "policies_count": 4, "update_id": "c4f58696-9dfa-4e6f-8803-47bd4f603011"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.565 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-30T03:10:00.564Z", "policies_count": 4, "update_id": "c4f58696-9dfa-4e6f-8803-47bd4f603011"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}} 20250830_031000.565 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_031000.565 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_031000.566 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_031000.566 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T03:10:00.564Z", "policies_count": 4, "update_id": "c4f58696-9dfa-4e6f-8803-47bd4f603011"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "execute_operation": "policy_update_not_only_config", "application_config": {"db_port": "123", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.566 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "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": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_031000.566 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_031000.567 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC41NjdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJkZmMwMzU2MC02ODYzLTQzYTgtYTc3My04ZjhlOTAwYjM3YWIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwMzoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDQ6MTA6MDAuMjA5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwNjoxMDowMC4yMDlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_031000.567 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"} 20250830_031000.568 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "node": {"properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T03:10:00.567Z", "policies_count": 4, "update_id": "dfc03560-6863-43a8-a773-8f8e900b37ab"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_ts": "2025-08-30T03:10:00.209Z", "policy_updated_from_ver": "0", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_configure", "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"}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "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": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T05:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "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": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "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": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "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": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T07:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "workflow_id": null, "type": "node-instance", "task_target": null} 20250830_031000.568 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250830_031000.568 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_031000.568 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T04:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_031000.568 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.569 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.569 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T03:10:00.209Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_031000.569 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T06:10:00.209Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_031000.569 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear