20250104_070615.583 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.585 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.585 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.585 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41ODVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNmQzNTA3OTItZjc0MC00ZTJiLTk2Y2MtZTJjZDI5Zjk1MWQyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.586 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.585Z", "action": "gathered", "update_id": "6d350792-f740-4e2b-96cc-e2cd29f951d2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.586 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.585Z", "action": "gathered", "update_id": "6d350792-f740-4e2b-96cc-e2cd29f951d2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.586 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.586 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.587 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.587 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.585Z", "action": "gathered", "update_id": "6d350792-f740-4e2b-96cc-e2cd29f951d2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.587 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}, "<<<junk_removed_policy_id>>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyName": "monkeyed.Config_multi_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<<junk_removed_policy_id>>>"] 20250104_070615.588 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.588 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}]} 20250104_070615.588 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.585Z", "action": "gathered", "update_id": "6d350792-f740-4e2b-96cc-e2cd29f951d2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.588 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.585Z", "action": "gathered", "update_id": "6d350792-f740-4e2b-96cc-e2cd29f951d2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.589 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.589 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.589 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.598 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.599 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250104_070615.599 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) 20250104_070615.599 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.603 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250104_070615.603 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.604 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/"}}] 20250104_070615.604 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.604 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.604 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.605 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.612 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250104_070615.613 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.613 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250104_070615.613 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.613 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.614 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.614 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.622 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.623 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.623 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.623 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42MjNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmE2ODM3MGQtYTJhOS00ODUyLThiMzUtYWUyNDEwMDRlNzE4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.624 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.623Z", "action": "gathered", "update_id": "2a68370d-a2a9-4852-8b35-ae241004e718", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.624 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.623Z", "action": "gathered", "update_id": "2a68370d-a2a9-4852-8b35-ae241004e718", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.624 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.625 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.623Z", "action": "gathered", "update_id": "2a68370d-a2a9-4852-8b35-ae241004e718", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.625 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250104_070615.625 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250104_070615.626 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42MjZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2YjFhYzdlZi02NWRmLTQwNTQtOGVkYS0wM2ZiZTUyNTllMWEiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250104_070615.626 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.626 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.626Z", "action": "updated", "update_id": "6b1ac7ef-65df-4054-8eda-03fbe5259e1a", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.627 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250104_070615.627 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.627 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.628 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.626Z", "action": "updated", "update_id": "6b1ac7ef-65df-4054-8eda-03fbe5259e1a", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.628 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.628 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.628 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42MjhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5OWU4NWZjMS04ODVkLTRkNDUtOWY5Zi1kOTA5MmQ3ZmJjZTMiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250104_070615.629 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.629 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.628Z", "action": "updated", "update_id": "99e85fc1-885d-4d45-9f9f-d9092d7fbce3", "policies_count": 2}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.629 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250104_070615.630 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.630 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.630 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.651 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.652 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.652 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.652 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42NTJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDcxOTAyZDctOWEyNS00NjliLTg4YzktYzY2ODA0MTI3MTU4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.653 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.652Z", "action": "gathered", "update_id": "471902d7-9a25-469b-88c9-c66804127158", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.652Z", "action": "gathered", "update_id": "471902d7-9a25-469b-88c9-c66804127158", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.654 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.652Z", "action": "gathered", "update_id": "471902d7-9a25-469b-88c9-c66804127158", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.654 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.654 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.655 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42NTRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhZTNkMTcxMi1lMDRiLTQyNjUtOWM4NS0yNWE4NDNkMGU2YjYiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.655 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.656 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.654Z", "action": "updated", "update_id": "ae3d1712-e04b-4265-9c85-25a843d0e6b6", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250104_070615.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.657 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.657 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.657 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.672 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250104_070615.673 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.673 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/"}}] 20250104_070615.673 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.673 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.674 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.674 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.681 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250104_070615.682 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.682 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/"}}] 20250104_070615.682 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.682 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.683 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.683 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.691 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.692 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.692 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.692 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS42OTJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDE5M2FlOTAtMDk5ZC00NDU5LWI1MGQtZDlmMDJjMWNmYzEwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.693 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.692Z", "action": "gathered", "update_id": "d193ae90-099d-4459-b50d-d9f02c1cfc10", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.693 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.692Z", "action": "gathered", "update_id": "d193ae90-099d-4459-b50d-d9f02c1cfc10", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.693 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.693 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.692Z", "action": "gathered", "update_id": "d193ae90-099d-4459-b50d-d9f02c1cfc10", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.694 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/"}}] 20250104_070615.694 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.694 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.694 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.692Z", "action": "gathered", "update_id": "d193ae90-099d-4459-b50d-d9f02c1cfc10", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.695 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.709 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.710 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.710 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.710 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43MTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZWY4OTQ1YzEtN2I0NS00MWY5LWIwNGQtMDFmMzFiNzc0ZTY2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.711 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.710Z", "action": "gathered", "update_id": "ef8945c1-7b45-41f9-b04d-01f31b774e66", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.711 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.710Z", "action": "gathered", "update_id": "ef8945c1-7b45-41f9-b04d-01f31b774e66", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.711 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.711 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.720 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 20250104_070615.720 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.724 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.725 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.725 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.725 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43MjVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNWE1NDlkN2EtZGQ0Ny00OWQ1LWIwNTItYTZkYTE0YzU0ZTE4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.726 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.725Z", "action": "gathered", "update_id": "5a549d7a-dd47-49d5-b052-a6da14c54e18", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.726 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.725Z", "action": "gathered", "update_id": "5a549d7a-dd47-49d5-b052-a6da14c54e18", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.726 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.726 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.726 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.726 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.727 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.738 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.739 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.739 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.739 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43MzlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjkwZmFjNTUtMmFhNy00ODFjLTgyYTItMGI5NGQ5MzAwMTQ2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.740 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.739Z", "action": "gathered", "update_id": "690fac55-2aa7-481c-82a2-0b94d9300146", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.740 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.739Z", "action": "gathered", "update_id": "690fac55-2aa7-481c-82a2-0b94d9300146", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.740 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.740 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.739Z", "action": "gathered", "update_id": "690fac55-2aa7-481c-82a2-0b94d9300146", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.741 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/"}}] 20250104_070615.741 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.741 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.741 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.739Z", "action": "gathered", "update_id": "690fac55-2aa7-481c-82a2-0b94d9300146", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.742 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.755 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.755 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.755 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.756 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.756 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250104_070615.756 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250104_070615.756 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.760 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.760 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250104_070615.760 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.760 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250104_070615.761 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.764 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 20250104_070615.764 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.768 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.769 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.769 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.770 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43NjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNGFmNmFiMWMtOTY0NS00YTgxLWJjYmQtYzgzMjQ4MzdkOGU1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.770 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.769Z", "action": "gathered", "update_id": "4af6ab1c-9645-4a81-bcbd-c8324837d8e5", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.770 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.769Z", "action": "gathered", "update_id": "4af6ab1c-9645-4a81-bcbd-c8324837d8e5", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.771 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.771 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.771 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.771 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.769Z", "action": "gathered", "update_id": "4af6ab1c-9645-4a81-bcbd-c8324837d8e5", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.772 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.772 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.772 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43NzJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJkYTIzMDczYy0zYTA1LTQ1YWMtOGZmYi01YTA0ODAzZDNlNTMiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.773 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.773 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.772Z", "action": "updated", "update_id": "da23073c-3a05-45ac-8ffb-5a04803d3e53", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.773 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250104_070615.773 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.790 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.791 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.791 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.791 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43OTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTgzZWUyODktYWFmMy00ZDliLTkxYWItNmE2NDIxMjkwZmI0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.792 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.791Z", "action": "gathered", "update_id": "983ee289-aaf3-4d9b-91ab-6a6421290fb4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.792 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.791Z", "action": "gathered", "update_id": "983ee289-aaf3-4d9b-91ab-6a6421290fb4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.792 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.792 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.792 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.793 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.791Z", "action": "gathered", "update_id": "983ee289-aaf3-4d9b-91ab-6a6421290fb4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.793 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.793 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.794 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS43OTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5MWIyNjhlZi1kNzRlLTRhOGItODA3NC04NmNmYzc5ODhhZmYiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.794 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.795 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"timestamp": "2025-01-04T07:06:15.793Z", "action": "updated", "update_id": "91b268ef-d74e-4a8b-8074-86cfc7988aff", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.795 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250104_070615.795 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.795 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.795 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.795 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.796 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.796 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.796 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.810 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.811 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.811 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.811 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.811 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250104_070615.811 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250104_070615.812 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.817 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.818 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.819 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.819 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjM1MDJhMDgtZjIxMS00Zjg2LTk3MzUtMDdkNWYzMTVjMmU0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.819 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.819Z", "action": "gathered", "update_id": "f3502a08-f211-4f86-9735-07d5f315c2e4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.820 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.819Z", "action": "gathered", "update_id": "f3502a08-f211-4f86-9735-07d5f315c2e4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.820 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.820 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.819Z", "action": "gathered", "update_id": "f3502a08-f211-4f86-9735-07d5f315c2e4", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.821 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250104_070615.821 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250104_070615.821 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44MjFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4NmIzOGI4YS0wZjQzLTQyYTEtYTgzMi1iNDc2NDlmNWNkZTAiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250104_070615.822 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.822 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.821Z", "action": "updated", "update_id": "86b38b8a-0f43-42a1-a832-b47649f5cde0", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.822 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20250104_070615.823 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.821Z", "action": "updated", "update_id": "86b38b8a-0f43-42a1-a832-b47649f5cde0", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.823 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.823 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.837 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250104_070615.838 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.838 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.838 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.839 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.839 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.847 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.848 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.848 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.848 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44NDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzdkNjU0OGUtM2FlZi00MmVmLWI0OTYtMDAyM2UyYTNlZGQyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.849 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.848Z", "action": "gathered", "update_id": "37d6548e-3aef-42ef-b496-0023e2a3edd2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.849 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.848Z", "action": "gathered", "update_id": "37d6548e-3aef-42ef-b496-0023e2a3edd2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.849 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.849 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.848Z", "action": "gathered", "update_id": "37d6548e-3aef-42ef-b496-0023e2a3edd2", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.850 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250104_070615.850 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250104_070615.850 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44NTBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2ODkyYzA2Mi01MWE4LTQ0NTQtYjNjMy0yOWNhZTE3ODEwYTkiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250104_070615.851 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.851 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.850Z", "action": "updated", "update_id": "6892c062-51a8-4454-b3c3-29cae17810a9", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.852 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.850Z", "action": "updated", "update_id": "6892c062-51a8-4454-b3c3-29cae17810a9", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.852 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250104_070615.852 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250104_070615.852 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.850Z", "action": "updated", "update_id": "6892c062-51a8-4454-b3c3-29cae17810a9", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.853 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20250104_070615.853 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.850Z", "action": "updated", "update_id": "6892c062-51a8-4454-b3c3-29cae17810a9", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.853 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.853 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.871 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250104_070615.872 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.872 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/"}}] 20250104_070615.872 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.872 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.873 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.873 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.880 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.880 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250104_070615.880 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) 20250104_070615.880 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.885 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.886 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.886 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.886 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44ODZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTY0ZTE0NzYtMjQ1NS00MzNlLWJhOWMtNDhlODJjZWFjZDk4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.887 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.886Z", "action": "gathered", "update_id": "964e1476-2455-433e-ba9c-48e82ceacd98", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.887 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.886Z", "action": "gathered", "update_id": "964e1476-2455-433e-ba9c-48e82ceacd98", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.887 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.887 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.887 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.888 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"timestamp": "2025-01-04T07:06:15.886Z", "action": "gathered", "update_id": "964e1476-2455-433e-ba9c-48e82ceacd98", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.888 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.888 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.889 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS44ODhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmYWM1ODM0NS0yODEyLTRhZTktOTkxZC03MWZlNjVhNGM2NjYiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.889 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.890 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"timestamp": "2025-01-04T07:06:15.888Z", "action": "updated", "update_id": "fac58345-2812-4ae9-991d-71fe65a4c666", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.890 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250104_070615.890 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.890 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.890 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.891 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.891 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.891 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.891 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250104_070615.907 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.908 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250104_070615.908 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.908 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS45MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDAzNjFjYWEtMDlmMi00MmExLWI0MjYtZWQ1MjE2ZjAyMGY3IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMTA6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS41NjBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTAxLTA0VDEwOjA2OjE1LjU2MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250104_070615.909 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.908Z", "action": "gathered", "update_id": "40361caa-09f2-42a1-b426-ed5216f020f7", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.909 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies_event": {"timestamp": "2025-01-04T07:06:15.908Z", "action": "gathered", "update_id": "40361caa-09f2-42a1-b426-ed5216f020f7", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"} 20250104_070615.909 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.910 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.908Z", "action": "gathered", "update_id": "40361caa-09f2-42a1-b426-ed5216f020f7", "policies_count": 4}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.910 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250104_070615.911 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250104_070615.911 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS45MTFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4ZGQ1YTcwZC0xNGZmLTRlMjUtYjYyNC1mNmYzZTgxYWI3MDAiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250104_070615.911 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.912 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.911Z", "action": "updated", "update_id": "8dd5a70d-14ff-4e25-b624-f6f3e81ab700", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.912 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}] 20250104_070615.912 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250104_070615.912 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.911Z", "action": "updated", "update_id": "8dd5a70d-14ff-4e25-b624-f6f3e81ab700", "policies_count": 0}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.913 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250104_070615.913 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}} 20250104_070615.913 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", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wMS0wNFQwNzowNjoxNS45MTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmYzdhM2M2YS0zN2ZkLTQ4OGUtYTg1OC04Zjg4ZDNlY2FlODQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDEtMDRUMDg6MDY6MTUuNTYwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250104_070615.914 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"} 20250104_070615.914 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null, "package_name": null}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-01-04T09:06:15.560Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-01-04T10:06:15.560Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-01-04T11:06:15.560Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update", "policies_event": {"timestamp": "2025-01-04T07:06:15.913Z", "action": "updated", "update_id": "fc7a3c6a-37fd-488e-a858-8f88d3ecae84", "policies_count": 2}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "weather": "snow"}, "exe_task": "node_configure"}}, "task_target": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-01-04T07:06:15.560Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_id": null} 20250104_070615.914 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250104_070615.914 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.914 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-01-04T08:06:15.560Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! "}} 20250104_070615.915 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear