20260711_031013.214 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.215 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) 20260711_031013.215 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) 20260711_031013.215 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.220 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.221 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.221 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.222 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNGY3MmU2ZjItM2FmNy00ZjJjLWE5MTktZDY2MmM0NGQ4Njk5IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjIyMVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.222 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4f72e6f2-3af7-4f2c-a919-d662c44d8699", "timestamp": "2026-07-11T03:10:13.221Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.222 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4f72e6f2-3af7-4f2c-a919-d662c44d8699", "timestamp": "2026-07-11T03:10:13.221Z", "action": "gathered"}} 20260711_031013.223 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.223 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4f72e6f2-3af7-4f2c-a919-d662c44d8699", "timestamp": "2026-07-11T03:10:13.221Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.223 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"}}] 20260711_031013.224 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.224 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.224 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4f72e6f2-3af7-4f2c-a919-d662c44d8699", "timestamp": "2026-07-11T03:10:13.221Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.224 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.240 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.241 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.241 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.242 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjdkZDE3OGItYThkOS00ODIyLWIzMjQtYzBiYjA1YTZiODk0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjI0MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.242 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "67dd178b-a8d9-4822-b324-c0bb05a6b894", "timestamp": "2026-07-11T03:10:13.241Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.242 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "67dd178b-a8d9-4822-b324-c0bb05a6b894", "timestamp": "2026-07-11T03:10:13.241Z", "action": "gathered"}} 20260711_031013.243 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.243 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "67dd178b-a8d9-4822-b324-c0bb05a6b894", "timestamp": "2026-07-11T03:10:13.241Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.243 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"] 20260711_031013.244 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260711_031013.244 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMTc1MWRjMzUtYmUyMi00ZWI3LWE1MTYtYzQ1OGQxNmRjZDc2IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjI0NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260711_031013.245 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.245 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "1751dc35-be22-4eb7-a516-c458d16dcd76", "timestamp": "2026-07-11T03:10:13.244Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.245 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}} 20260711_031013.246 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.246 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.246 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "1751dc35-be22-4eb7-a516-c458d16dcd76", "timestamp": "2026-07-11T03:10:13.244Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.246 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.247 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.247 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMDFhOWNmYjUtNTE5NC00YjljLTliNDMtNGEyZDE5MGE0Y2JjIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjI0N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260711_031013.248 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.248 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "01a9cfb5-5194-4b9c-9b43-4a2d190a4cbc", "timestamp": "2026-07-11T03:10:13.247Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.248 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260711_031013.248 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.248 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.249 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.270 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260711_031013.270 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.271 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"}}] 20260711_031013.271 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.271 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.272 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.272 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.284 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.285 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.285 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.286 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzJiMGM4NDgtMWE5Ni00MDY3LThiNWMtNWEzZmI3YmFiOGViIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjI4NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.286 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "72b0c848-1a96-4067-8b5c-5a3fb7bab8eb", "timestamp": "2026-07-11T03:10:13.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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.287 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "72b0c848-1a96-4067-8b5c-5a3fb7bab8eb", "timestamp": "2026-07-11T03:10:13.285Z", "action": "gathered"}} 20260711_031013.287 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.287 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.287 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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20260711_031013.288 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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.288 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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20260711_031013.288 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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.288 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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true} 20260711_031013.288 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.288 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260711_031013.289 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.299 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 20260711_031013.300 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.304 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.305 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTkyNDBjYTQtYjIyNi00Y2M3LTljNWQtZDg2YmFiYzg5NDdlIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjMwNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.306 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e9240ca4-b226-4cc7-9c5d-d86babc8947e", "timestamp": "2026-07-11T03:10:13.305Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.306 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e9240ca4-b226-4cc7-9c5d-d86babc8947e", "timestamp": "2026-07-11T03:10:13.305Z", "action": "gathered"}} 20260711_031013.306 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.307 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e9240ca4-b226-4cc7-9c5d-d86babc8947e", "timestamp": "2026-07-11T03:10:13.305Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.307 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"] 20260711_031013.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260711_031013.308 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNTZiZWM2NGMtODBjNy00OWMyLTk4NzQtNWZhMzg5YjA5ZDY0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjMwOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260711_031013.308 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "56bec64c-80c7-49c2-9874-5fa389b09d64", "timestamp": "2026-07-11T03:10:13.308Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.309 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "56bec64c-80c7-49c2-9874-5fa389b09d64", "timestamp": "2026-07-11T03:10:13.308Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.309 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"] 20260711_031013.309 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260711_031013.310 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "56bec64c-80c7-49c2-9874-5fa389b09d64", "timestamp": "2026-07-11T03:10:13.308Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.310 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260711_031013.310 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "56bec64c-80c7-49c2-9874-5fa389b09d64", "timestamp": "2026-07-11T03:10:13.308Z", "action": "updated"}} 20260711_031013.310 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.311 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.330 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260711_031013.331 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.331 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"}}] 20260711_031013.331 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.331 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.332 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.332 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.340 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.341 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.341 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.341 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTUxYTZhYjItZjA1MC00ZjBhLWIyMjUtNzNlOWY4M2NmMGMzIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjM0MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.342 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "551a6ab2-f050-4f0a-b225-73e9f83cf0c3", "timestamp": "2026-07-11T03:10:13.341Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.342 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "551a6ab2-f050-4f0a-b225-73e9f83cf0c3", "timestamp": "2026-07-11T03:10:13.341Z", "action": "gathered"}} 20260711_031013.342 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.343 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "551a6ab2-f050-4f0a-b225-73e9f83cf0c3", "timestamp": "2026-07-11T03:10:13.341Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.343 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"] 20260711_031013.344 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260711_031013.344 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMjhmYzdhOWItMTg2OS00MmEyLWE2MDQtNDgwMTE4YzRlMDg1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjM0NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260711_031013.344 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.345 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "28fc7a9b-1869-42a2-a604-480118c4e085", "timestamp": "2026-07-11T03:10:13.344Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.345 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260711_031013.345 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "28fc7a9b-1869-42a2-a604-480118c4e085", "timestamp": "2026-07-11T03:10:13.344Z", "action": "updated"}} 20260711_031013.345 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.345 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.360 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260711_031013.360 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.361 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.361 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.361 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.361 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.368 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.368 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.368 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.369 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.369 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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"}} 20260711_031013.369 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260711_031013.369 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.375 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.376 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.376 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.376 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTA0Yjk0NTUtMDQ1NS00Yjc3LWI3YWQtZDVmY2Y5ZDNjNWE1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjM3NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.377 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "104b9455-0455-4b77-b7ad-d5fcf9d3c5a5", "timestamp": "2026-07-11T03:10:13.376Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.377 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "104b9455-0455-4b77-b7ad-d5fcf9d3c5a5", "timestamp": "2026-07-11T03:10:13.376Z", "action": "gathered"}} 20260711_031013.377 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.377 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.377 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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}}] 20260711_031013.378 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "104b9455-0455-4b77-b7ad-d5fcf9d3c5a5", "timestamp": "2026-07-11T03:10:13.376Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.378 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}}], 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}}}}}}, removed_policies: ["<<>>"] 20260711_031013.378 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}}} 20260711_031013.379 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "config": {"policy_updated_ts": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}}]} 20260711_031013.379 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "104b9455-0455-4b77-b7ad-d5fcf9d3c5a5", "timestamp": "2026-07-11T03:10:13.376Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.379 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "104b9455-0455-4b77-b7ad-d5fcf9d3c5a5", "timestamp": "2026-07-11T03:10:13.376Z", "action": "gathered"}} 20260711_031013.379 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.380 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.380 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.396 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260711_031013.396 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.397 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"}}] 20260711_031013.397 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.397 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.397 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.397 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.405 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.406 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.406 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.407 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzViMGNkOWQtOGJkMy00ZDczLTkyYmYtMjU0ZDc0NDlkYzUwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQwN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.407 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "35b0cd9d-8bd3-4d73-92bf-254d7449dc50", "timestamp": "2026-07-11T03:10:13.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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.408 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "35b0cd9d-8bd3-4d73-92bf-254d7449dc50", "timestamp": "2026-07-11T03:10:13.407Z", "action": "gathered"}} 20260711_031013.408 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.408 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "35b0cd9d-8bd3-4d73-92bf-254d7449dc50", "timestamp": "2026-07-11T03:10:13.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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.409 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"}}] 20260711_031013.409 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.409 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.409 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "35b0cd9d-8bd3-4d73-92bf-254d7449dc50", "timestamp": "2026-07-11T03:10:13.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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.409 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.423 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.424 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.424 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.425 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzFjNjM1NzktZjg0Yi00ZjAzLWJlYTctNGYyNTM3YzM4MDk5IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQyNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.425 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "71c63579-f84b-4f03-bea7-4f2537c38099", "timestamp": "2026-07-11T03:10:13.425Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.426 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "71c63579-f84b-4f03-bea7-4f2537c38099", "timestamp": "2026-07-11T03:10:13.425Z", "action": "gathered"}} 20260711_031013.426 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.426 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "71c63579-f84b-4f03-bea7-4f2537c38099", "timestamp": "2026-07-11T03:10:13.425Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.426 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"] 20260711_031013.427 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260711_031013.427 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMDQxMWQzY2YtNjYyYy00OGVhLWI0NGEtNTBlMjgwYWE2OTRjIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQyN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260711_031013.427 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.428 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "0411d3cf-662c-48ea-b44a-50e280aa694c", "timestamp": "2026-07-11T03:10:13.427Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.428 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.428 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.429 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "0411d3cf-662c-48ea-b44a-50e280aa694c", "timestamp": "2026-07-11T03:10:13.427Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.429 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.429 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.429 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMTU0NjRiODUtMzE3MC00M2YwLWE4ZTEtYTk4ODgyZGVkMzE2IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQyOVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260711_031013.430 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.430 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "15464b85-3170-43f0-a8e1-a98882ded316", "timestamp": "2026-07-11T03:10:13.429Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.430 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260711_031013.431 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.431 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.431 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.450 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.451 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.451 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.452 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzY0ZjgwYWEtNDRlYy00M2Y4LTk0ZTgtM2Q5OWVlMjI3NTExIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQ1MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.452 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c64f80aa-44ec-43f8-94e8-3d99ee227511", "timestamp": "2026-07-11T03:10:13.452Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.453 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c64f80aa-44ec-43f8-94e8-3d99ee227511", "timestamp": "2026-07-11T03:10:13.452Z", "action": "gathered"}} 20260711_031013.453 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.453 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.453 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.453 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c64f80aa-44ec-43f8-94e8-3d99ee227511", "timestamp": "2026-07-11T03:10:13.452Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.454 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.454 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.454 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTIzYTliY2EtYjQzMy00MDNhLTlmYzMtZTA0ZjQzZTY1ZGUwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQ1NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260711_031013.455 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.455 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "923a9bca-b433-403a-9fc3-e04f43e65de0", "timestamp": "2026-07-11T03:10:13.454Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.455 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260711_031013.456 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.456 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.456 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.456 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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20260711_031013.456 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.456 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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20260711_031013.457 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.471 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.471 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.472 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.472 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.472 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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"}} 20260711_031013.472 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260711_031013.472 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.478 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.479 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.480 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.480 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDc2N2MyZDAtZjg1Yi00OWUwLTlhYTItZjZlODA0ZDUzZGUyIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQ4MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.480 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4767c2d0-f85b-49e0-9aa2-f6e804d53de2", "timestamp": "2026-07-11T03:10:13.480Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.481 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4767c2d0-f85b-49e0-9aa2-f6e804d53de2", "timestamp": "2026-07-11T03:10:13.480Z", "action": "gathered"}} 20260711_031013.481 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.481 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.481 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.482 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4767c2d0-f85b-49e0-9aa2-f6e804d53de2", "timestamp": "2026-07-11T03:10:13.480Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.482 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.482 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.482 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTBhYjcyMTQtMzE0ZS00Zjg5LTkxNTYtM2ExMGYxN2NjMWFiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjQ4MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260711_031013.483 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.483 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "50ab7214-314e-4f89-9156-3a10f17cc1ab", "timestamp": "2026-07-11T03:10:13.482Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.484 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260711_031013.484 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.484 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.484 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.484 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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20260711_031013.484 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.485 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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20260711_031013.485 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.499 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.500 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) 20260711_031013.500 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) 20260711_031013.500 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.503 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.503 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260711_031013.504 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.504 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260711_031013.504 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.509 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.510 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.510 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.510 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjNlNzU3OTEtZDVjMi00Y2ZjLThmNGItYzZiYWZmZDg5YmQ4IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjUxMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.511 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "23e75791-d5c2-4cfc-8f4b-c6baffd89bd8", "timestamp": "2026-07-11T03:10:13.510Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.511 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "23e75791-d5c2-4cfc-8f4b-c6baffd89bd8", "timestamp": "2026-07-11T03:10:13.510Z", "action": "gathered"}} 20260711_031013.511 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.512 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.512 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.512 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "23e75791-d5c2-4cfc-8f4b-c6baffd89bd8", "timestamp": "2026-07-11T03:10:13.510Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.512 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.513 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.513 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzUzMGYwZDktOGZiNC00OWZmLTlkYjMtZmNjMTkzYWYwYjZiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjUxM1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260711_031013.514 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.514 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "7530f0d9-8fb4-49ff-9db3-fcc193af0b6b", "timestamp": "2026-07-11T03:10:13.513Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.514 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260711_031013.514 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.515 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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.515 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.515 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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20260711_031013.515 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.515 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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20260711_031013.515 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.532 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260711_031013.532 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.533 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"}}] 20260711_031013.533 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.533 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.533 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.534 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.541 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.542 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.542 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.543 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmFjZDQzMTQtYWY0My00OGIwLWI0MDYtOThjMzY1ZDI0ZjhkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjU0M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.543 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "2acd4314-af43-48b0-b406-98c365d24f8d", "timestamp": "2026-07-11T03:10:13.543Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.544 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "2acd4314-af43-48b0-b406-98c365d24f8d", "timestamp": "2026-07-11T03:10:13.543Z", "action": "gathered"}} 20260711_031013.544 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.544 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true}] 20260711_031013.544 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260711_031013.545 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "2acd4314-af43-48b0-b406-98c365d24f8d", "timestamp": "2026-07-11T03:10:13.543Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.545 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260711_031013.545 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}} 20260711_031013.545 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWUyMjZiODUtZWQxZC00Yzg2LWIyMWItN2ExNDQ0MDVhMzg2IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjU0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20260711_031013.546 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_from_ver": "0"} 20260711_031013.546 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "9e226b85-ed1d-4c86-b21b-7a144405a386", "timestamp": "2026-07-11T03:10:13.545Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.547 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260711_031013.547 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false} 20260711_031013.547 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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.547 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.547 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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20260711_031013.548 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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true} 20260711_031013.548 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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20260711_031013.548 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.563 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.564 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.565 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.565 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTBkNmVjZTQtZTExYi00YTE0LTk2ZTctZDE4MjA4YmE3M2Q5IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjU2NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDA0OjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTExVDAzOjEwOjEzLjE5MVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMTFUMDY6MTA6MTMuMTkxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ=="}}] 20260711_031013.565 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "10d6ece4-e11b-4a14-96e7-d18208ba73d9", "timestamp": "2026-07-11T03:10:13.565Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.566 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "10d6ece4-e11b-4a14-96e7-d18208ba73d9", "timestamp": "2026-07-11T03:10:13.565Z", "action": "gathered"}} 20260711_031013.566 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", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-07-11T04:10:13.191Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "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", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-07-11T06:10:13.191Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20260711_031013.566 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.574 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 20260711_031013.575 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260711_031013.578 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260711_031013.578 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.579 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260711_031013.579 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260711_031013.579 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "policy_updated_from_ver": "0"} 20260711_031013.579 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_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", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-11T03:10:13.191Z", "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}, "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": "2026-07-11T05:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name"}}, "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": "2026-07-11T03:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}, "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": "2026-07-11T04:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}, "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": "2026-07-11T06:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "relationships": []}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}, "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": "2026-07-11T07:10:13.191Z", "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", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}}}}, "relationships": []}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}]}, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_updated_ts": "2026-07-11T03:10:13.191Z", "updated_policy_id": "no_policy", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name"}, "plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_target": null, "task_queue": null} 20260711_031013.580 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear