20250628_031020.096 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 20250628_031020.096 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.101 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.102 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.102 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.102 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMTA2NWJlOTAtMGIzOS00Yjc0LWEwZjAtYzQ4ODQ4OWFiOWRhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjEwMloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.103 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "1065be90-0b39-4b74-a0f0-c488489ab9da", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.102Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.103 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "1065be90-0b39-4b74-a0f0-c488489ab9da", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.102Z", "action": "gathered"}} 20250628_031020.103 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.104 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "1065be90-0b39-4b74-a0f0-c488489ab9da", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.102Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.104 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250628_031020.104 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_031020.105 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMTE4MTU3NTYtZmRiNS00Y2M4LTgzYTQtYTNmNzViOTQ1M2E4IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjEwNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250628_031020.105 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.105 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "11815756-fdb5-4cc8-83a4-a3f75b9453a8", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.105Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.106 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": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250628_031020.106 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.106 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.106 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "11815756-fdb5-4cc8-83a4-a3f75b9453a8", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.105Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.107 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.107 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.107 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMDY0NTE1MTUtMDhhNi00OGJjLTg5MGUtNTZmNjEyZTRlYjMzIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjEwN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}] 20250628_031020.107 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.108 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "06451515-08a6-48bc-890e-56f612e4eb33", "policies_count": 2, "timestamp": "2025-06-28T03:10:20.107Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.108 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_031020.108 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.108 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.109 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.128 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.129 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.129 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.130 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDMzNjNmNDAtYTE5Zi00ODY0LTg3MTgtNjQ1NzVkMWUyZjA3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjEyOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.130 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d3363f40-a19f-4864-8718-64575d1e2f07", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.129Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.130 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d3363f40-a19f-4864-8718-64575d1e2f07", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.129Z", "action": "gathered"}} 20250628_031020.131 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.131 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.131 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}] 20250628_031020.132 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d3363f40-a19f-4864-8718-64575d1e2f07", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.129Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.132 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml"}}}}}, removed_policies: ["<<>>"] 20250628_031020.132 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}} 20250628_031020.132 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml"}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml"}}]} 20250628_031020.133 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d3363f40-a19f-4864-8718-64575d1e2f07", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.129Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.133 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d3363f40-a19f-4864-8718-64575d1e2f07", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.129Z", "action": "gathered"}} 20250628_031020.133 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.133 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.133 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.149 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.150 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.151 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.151 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiM2RiNzdhYTUtZjUwYy00OTQ0LTg3YjYtYzMzNzIwNWEwMWE2IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjE1MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.151 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "3db77aa5-f50c-4944-87b6-c337205a01a6", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.151Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.152 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "3db77aa5-f50c-4944-87b6-c337205a01a6", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.151Z", "action": "gathered"}} 20250628_031020.152 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.152 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.152 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.153 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "3db77aa5-f50c-4944-87b6-c337205a01a6", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.151Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.153 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.153 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.153 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZGVhNjcyZWItNzFjNi00YWRjLWFkNmYtNGExYTkyMDQ0NzMzIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjE1M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250628_031020.154 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.154 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "dea672eb-71c6-4adc-ad6f-4a1a92044733", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.153Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250628_031020.155 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.156 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250628_031020.156 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.170 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.171 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250628_031020.171 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) 20250628_031020.171 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.176 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.177 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.177 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.177 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOWU0YzNjMDYtNjY0NC00ODM5LWI5ZjQtMDBlMjE2MTMxZjk5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjE3N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.178 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "9e4c3c06-6644-4839-b9f4-00e216131f99", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.177Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.178 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "9e4c3c06-6644-4839-b9f4-00e216131f99", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.177Z", "action": "gathered"}} 20250628_031020.178 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.179 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "9e4c3c06-6644-4839-b9f4-00e216131f99", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.177Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.179 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250628_031020.179 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.179 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.180 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "9e4c3c06-6644-4839-b9f4-00e216131f99", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.177Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.180 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.194 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250628_031020.194 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.194 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250628_031020.195 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.195 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.195 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.195 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.203 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.204 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.204 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.204 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOThmMjM2NDEtZTExNy00MjYzLThiNzEtODZhOTBiMTI0NzBiIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjIwNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.205 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "98f23641-e117-4263-8b71-86a90b12470b", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.204Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.205 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "98f23641-e117-4263-8b71-86a90b12470b", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.204Z", "action": "gathered"}} 20250628_031020.205 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.205 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.213 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.214 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250628_031020.214 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) 20250628_031020.214 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.218 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250628_031020.218 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.219 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250628_031020.219 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.219 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.219 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.220 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.226 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.226 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.227 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.227 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.227 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}} 20250628_031020.227 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250628_031020.227 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.231 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.231 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.231 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.232 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.232 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}} 20250628_031020.232 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250628_031020.232 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.237 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.238 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.238 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.239 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNzYxZjJjNzYtN2RmYi00YzkxLTgzYjUtYzk3NDVkZWFmMzFjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjIzOFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.239 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "761f2c76-7dfb-4c91-83b5-c9745deaf31c", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.238Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.239 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "761f2c76-7dfb-4c91-83b5-c9745deaf31c", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.238Z", "action": "gathered"}} 20250628_031020.240 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.240 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.240 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.240 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "761f2c76-7dfb-4c91-83b5-c9745deaf31c", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.238Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.241 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.241 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.241 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNjkwNjkzM2QtOGNkYS00N2Q3LWJjMzktODEyMzFjMjM4YWVlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjI0MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250628_031020.242 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.242 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "6906933d-8cda-47d7-bc39-81231c238aee", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.241Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.242 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250628_031020.242 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.243 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250628_031020.243 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250628_031020.243 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.259 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.260 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.260 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.260 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNjM2MzY2MmUtYjM5MC00NWMzLWE1YmQtMDZhMzE0OTI0OGEzIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjI2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.261 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "6363662e-b390-45c3-a5bd-06a3149248a3", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.260Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "6363662e-b390-45c3-a5bd-06a3149248a3", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.260Z", "action": "gathered"}} 20250628_031020.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.262 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "6363662e-b390-45c3-a5bd-06a3149248a3", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.260Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.262 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250628_031020.262 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_031020.263 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiN2FlZmRiM2EtMWJhYy00MjUzLWE1MWQtODQ2MTVkNGI2MDc2IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjI2M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250628_031020.263 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.263 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7aefdb3a-1bac-4253-a51d-84615d4b6076", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.263Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.264 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7aefdb3a-1bac-4253-a51d-84615d4b6076", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.263Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.264 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250628_031020.264 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_031020.265 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7aefdb3a-1bac-4253-a51d-84615d4b6076", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.263Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250628_031020.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "7aefdb3a-1bac-4253-a51d-84615d4b6076", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.263Z", "action": "updated"}} 20250628_031020.265 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.265 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.284 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.285 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.285 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.285 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMGViNGQ1ZDMtNDY2Ny00YzUzLThlYjMtNmEzYzk4MDQ2ZTc3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjI4NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.286 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "0eb4d5d3-4667-4c53-8eb3-6a3c98046e77", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.285Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.286 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "0eb4d5d3-4667-4c53-8eb3-6a3c98046e77", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.285Z", "action": "gathered"}} 20250628_031020.286 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.286 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.286 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false} 20250628_031020.287 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20250628_031020.287 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.297 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.298 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.299 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.299 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzA3ZTAzNDctNDVhMS00YTVjLWIyNmMtYTQzNzYyM2NmNGZhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjI5OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.299 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "307e0347-45a1-4a5c-b26c-a437623cf4fa", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.299Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.300 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "307e0347-45a1-4a5c-b26c-a437623cf4fa", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.299Z", "action": "gathered"}} 20250628_031020.300 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.300 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "307e0347-45a1-4a5c-b26c-a437623cf4fa", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.299Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.301 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250628_031020.301 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_031020.301 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOWFkMGE0N2ItMmUxMS00NmI2LThiOTEtYWUyYjBmYjU3NDNmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjMwMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250628_031020.302 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.302 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ad0a47b-2e11-46b6-8b91-ae2b0fb5743f", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.301Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.302 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.302 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.303 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ad0a47b-2e11-46b6-8b91-ae2b0fb5743f", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.301Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.303 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.303 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.303 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNDYwMGIzOWMtNDNmYS00YzM5LTkzNzEtNTg5NjhhODhmYjEwIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjMwM1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}] 20250628_031020.304 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.304 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "4600b39c-43fa-4c39-9371-58968a88fb10", "policies_count": 2, "timestamp": "2025-06-28T03:10:20.303Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.304 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250628_031020.305 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.305 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.305 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.324 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250628_031020.324 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.325 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250628_031020.325 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.325 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.325 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.326 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.333 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.334 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.334 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.335 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiN2Q2NmMyYTktOGQ2ZC00NTNmLWJkZDItYzkyM2I1ZGYyOGY1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjMzNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.335 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "7d66c2a9-8d6d-453f-bdd2-c923b5df28f5", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.335Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.335 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "7d66c2a9-8d6d-453f-bdd2-c923b5df28f5", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.335Z", "action": "gathered"}} 20250628_031020.336 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.336 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "7d66c2a9-8d6d-453f-bdd2-c923b5df28f5", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.335Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.336 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250628_031020.336 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.337 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.337 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "7d66c2a9-8d6d-453f-bdd2-c923b5df28f5", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.335Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.337 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.353 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.354 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.354 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.354 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiODFkOTY0MTUtMDAyZS00OGUwLTgxYmYtYzNjNGNjMGZkYjI3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjM1NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.355 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "81d96415-002e-48e0-81bf-c3c4cc0fdb27", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.354Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.355 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "81d96415-002e-48e0-81bf-c3c4cc0fdb27", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.354Z", "action": "gathered"}} 20250628_031020.356 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.356 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "81d96415-002e-48e0-81bf-c3c4cc0fdb27", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.354Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.356 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250628_031020.357 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_031020.357 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiODJjZTY0NTctZjEzZi00ZGRiLWFiM2ItOTgzZWQ5ZjRmMzlmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjM1N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250628_031020.357 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.358 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "82ce6457-f13f-4ddb-ab3b-983ed9f4f39f", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.357Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.358 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250628_031020.358 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "82ce6457-f13f-4ddb-ab3b-983ed9f4f39f", "policies_count": 0, "timestamp": "2025-06-28T03:10:20.357Z", "action": "updated"}} 20250628_031020.358 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.358 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.372 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250628_031020.372 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.373 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250628_031020.373 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.373 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.373 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.374 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.380 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.380 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250628_031020.381 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.381 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250628_031020.381 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.385 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250628_031020.386 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.386 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250628_031020.386 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.386 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.387 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.387 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.393 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 20250628_031020.393 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.397 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250628_031020.397 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.398 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.398 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.398 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.398 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.406 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.407 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjNjNjgwODgtNzk0OS00NWU4LWE3NWQtODU4YzY1OGE4MzBlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjQwN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.408 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f3c68088-7949-45e8-a75d-858c658a830e", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.407Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.408 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f3c68088-7949-45e8-a75d-858c658a830e", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.407Z", "action": "gathered"}} 20250628_031020.408 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.409 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.409 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.409 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f3c68088-7949-45e8-a75d-858c658a830e", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.407Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.409 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.410 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.410 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMDdiOTRjOWQtYWMyOC00NDFiLTliZWEtYTg0NzdkOWIyMzJmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjQxMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTI4VDA0OjEwOjIwLjA3NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9"}}] 20250628_031020.410 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.411 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "07b94c9d-ac28-441b-9bea-a8477d9b232f", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.410Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.411 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_031020.411 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.411 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.412 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.412 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250628_031020.412 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.412 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250628_031020.412 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_031020.428 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.429 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_031020.429 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.430 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDIzYmUxZTgtMjc4YS00Y2EwLTk0MTAtNWIwNGI1MjhhOTZhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjQyOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDQ6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20250628_031020.430 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d23be1e8-278a-4ca0-9410-5b04b528a96a", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.429Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.430 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d23be1e8-278a-4ca0-9410-5b04b528a96a", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.429Z", "action": "gathered"}} 20250628_031020.430 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250628_031020.431 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": ["damaged config"], "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}] 20250628_031020.431 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_031020.431 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "d23be1e8-278a-4ca0-9410-5b04b528a96a", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.429Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.431 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": ["damaged config"], "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_031020.432 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}} 20250628_031020.432 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZmZhZmJlYzQtZDcxYi00NzdjLWI2NTEtNDA3NTU0NTM4NDNhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDAzOjEwOjIwLjQzMloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDY6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMjhUMDM6MTA6MjAuMDc0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwifQ=="}}] 20250628_031020.433 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250628_031020.433 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_queue": null, "task_target": null, "type": "node-instance", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T03:10:20.074Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_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_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": ["damaged config"], "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false}}, "policies_event": {"update_id": "ffafbec4-d71b-477c-b651-40755453843a", "policies_count": 4, "timestamp": "2025-06-28T03:10:20.432Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2025-06-28T05:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2025-06-28T04:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "config": {"policy_updated_ts": "2025-06-28T07:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_031020.433 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_031020.433 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_persistent": false} 20250628_031020.434 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": ["damaged config"], "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_persistent": true} 20250628_031020.434 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.434 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250628_031020.434 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2025-06-28T03:10:20.074Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true} 20250628_031020.434 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2025-06-28T06:10:20.074Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250628_031020.434 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear