20260425_031011.637 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.638 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.638 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.639 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjkyNDZhMmQxLTJmYTYtNDE3Mi04NWM3LWYwMmE3MDg2YmI1NSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS42MzhaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.639 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9246a2d1-2fa6-4172-85c7-f02a7086bb55", "timestamp": "2026-04-25T03:10:11.638Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.639 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9246a2d1-2fa6-4172-85c7-f02a7086bb55", "timestamp": "2026-04-25T03:10:11.638Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.640 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.640 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9246a2d1-2fa6-4172-85c7-f02a7086bb55", "timestamp": "2026-04-25T03:10:11.638Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.640 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260425_031011.641 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260425_031011.641 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMDA3MjdlOGItZGYxYi00Y2JiLWIxODgtZmUyNTZiMmI4MjdlIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjY0MVoifQ==", "Verb": "set"}}] 20260425_031011.641 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.642 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "00727e8b-df1b-4cbb-b188-fe256b2b827e", "timestamp": "2026-04-25T03:10:11.641Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.642 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "00727e8b-df1b-4cbb-b188-fe256b2b827e", "timestamp": "2026-04-25T03:10:11.641Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.642 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260425_031011.642 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260425_031011.643 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "00727e8b-df1b-4cbb-b188-fe256b2b827e", "timestamp": "2026-04-25T03:10:11.641Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260425_031011.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "00727e8b-df1b-4cbb-b188-fe256b2b827e", "timestamp": "2026-04-25T03:10:11.641Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.643 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.643 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.655 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.656 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.656 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.656 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjdhNGJmOWZmLTMyM2YtNDJlMS04NjdhLTkyNGEwMDAyNGM4ZSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS42NTZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.657 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7a4bf9ff-323f-42e1-867a-924a00024c8e", "timestamp": "2026-04-25T03:10:11.656Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.657 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7a4bf9ff-323f-42e1-867a-924a00024c8e", "timestamp": "2026-04-25T03:10:11.656Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.657 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.657 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.658 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.658 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7a4bf9ff-323f-42e1-867a-924a00024c8e", "timestamp": "2026-04-25T03:10:11.656Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.658 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.659 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.659 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmJjMDUxMjEtYjk3NS00MzUxLTk4MjYtOTdjMTVjNGNkMTI2IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjY1OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20260425_031011.660 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.660 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 4, "update_id": "bbc05121-b975-4351-9826-97c15c4cd126", "timestamp": "2026-04-25T03:10:11.659Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.660 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260425_031011.660 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.661 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.661 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.661 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.661 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.661 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.661 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.677 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.678 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.678 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.679 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImI5YmRhYjk4LTFmOWMtNGJlYy1iYWUzLWUzMDIwMGI1ZmJmNCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS42NzlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.679 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b9bdab98-1f9c-4bec-bae3-e30200b5fbf4", "timestamp": "2026-04-25T03:10:11.679Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.680 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b9bdab98-1f9c-4bec-bae3-e30200b5fbf4", "timestamp": "2026-04-25T03:10:11.679Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.680 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.680 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.680 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.680 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b9bdab98-1f9c-4bec-bae3-e30200b5fbf4", "timestamp": "2026-04-25T03:10:11.679Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.681 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.681 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.681 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTE4MWY3ZDctM2Q2Mi00ZDZhLWI1YjQtMDM4MDUwYzM2YTk1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjY4MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20260425_031011.682 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.682 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 4, "update_id": "1181f7d7-3d62-4d6a-b5b4-038050c36a95", "timestamp": "2026-04-25T03:10:11.681Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.682 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.683 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.684 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.699 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.700 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.700 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.700 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjUwOWZkYjhhLTU2YTEtNDQ4YS1iZjRiLWM3MjU5NWU5NGJjMSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS43MDBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.701 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "509fdb8a-56a1-448a-bf4b-c72595e94bc1", "timestamp": "2026-04-25T03:10:11.700Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.701 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "509fdb8a-56a1-448a-bf4b-c72595e94bc1", "timestamp": "2026-04-25T03:10:11.700Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.701 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.702 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "509fdb8a-56a1-448a-bf4b-c72595e94bc1", "timestamp": "2026-04-25T03:10:11.700Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.702 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260425_031011.703 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260425_031011.703 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiYjEzMDk4ZjktNTNjYy00YmFjLTk5ZmItMzc4ODY4ZmFhYjY4IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjcwM1oifQ==", "Verb": "set"}}] 20260425_031011.703 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.704 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "b13098f9-53cc-4bac-99fb-378868faab68", "timestamp": "2026-04-25T03:10:11.703Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.704 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260425_031011.704 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "b13098f9-53cc-4bac-99fb-378868faab68", "timestamp": "2026-04-25T03:10:11.703Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.704 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.704 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.720 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260425_031011.720 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.721 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"}}] 20260425_031011.721 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.721 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.721 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.721 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.728 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.729 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) 20260425_031011.729 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) 20260425_031011.729 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.733 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.734 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.735 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.735 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImIxZTdkYmVlLWYyNWItNGM2My05OWQzLWUwNzE3MzcyZjNlMiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS43MzVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.735 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b1e7dbee-f25b-4c63-99d3-e0717372f3e2", "timestamp": "2026-04-25T03:10:11.735Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.736 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b1e7dbee-f25b-4c63-99d3-e0717372f3e2", "timestamp": "2026-04-25T03:10:11.735Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.736 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.736 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b1e7dbee-f25b-4c63-99d3-e0717372f3e2", "timestamp": "2026-04-25T03:10:11.735Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.737 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"}}] 20260425_031011.737 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.737 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.737 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "b1e7dbee-f25b-4c63-99d3-e0717372f3e2", "timestamp": "2026-04-25T03:10:11.735Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.737 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.750 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.751 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260425_031011.751 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.751 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260425_031011.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.756 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.757 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.757 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.758 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImVjMWEyOGM3LWFmZjMtNGI2MC04MDM3LWYzN2JiODFiODdhYiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS43NTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.758 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "ec1a28c7-aff3-4b60-8037-f37bb81b87ab", "timestamp": "2026-04-25T03:10:11.757Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.758 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "ec1a28c7-aff3-4b60-8037-f37bb81b87ab", "timestamp": "2026-04-25T03:10:11.757Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.758 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.759 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.759 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}] 20260425_031011.759 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "ec1a28c7-aff3-4b60-8037-f37bb81b87ab", "timestamp": "2026-04-25T03:10:11.757Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.760 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260425_031011.760 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}} 20260425_031011.760 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}], "same": [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}]} 20260425_031011.761 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "ec1a28c7-aff3-4b60-8037-f37bb81b87ab", "timestamp": "2026-04-25T03:10:11.757Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.761 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "ec1a28c7-aff3-4b60-8037-f37bb81b87ab", "timestamp": "2026-04-25T03:10:11.757Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.761 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.761 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.761 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.777 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.778 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.779 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.779 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjVhZTkzZGIwLWI2ZDQtNDU0ZC04NGQwLTY3Yjg1ZGEwNzM3OSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS43NzlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.779 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5ae93db0-b6d4-454d-84d0-67b85da07379", "timestamp": "2026-04-25T03:10:11.779Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.780 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5ae93db0-b6d4-454d-84d0-67b85da07379", "timestamp": "2026-04-25T03:10:11.779Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.780 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.780 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5ae93db0-b6d4-454d-84d0-67b85da07379", "timestamp": "2026-04-25T03:10:11.779Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.780 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260425_031011.781 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260425_031011.781 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiOTNmYWNlZGYtMzljZS00NGM4LTkzYzctNDg5MDMyMmRlYTZkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjc4MVoifQ==", "Verb": "set"}}] 20260425_031011.782 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.782 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "93facedf-39ce-44c8-93c7-4890322dea6d", "timestamp": "2026-04-25T03:10:11.781Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.782 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.782 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.783 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "93facedf-39ce-44c8-93c7-4890322dea6d", "timestamp": "2026-04-25T03:10:11.781Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.783 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.783 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.783 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMzI4YmFiNWEtMTRmYi00ZjM0LWFlNzAtMWNmMWM2Nzc0Y2QyIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjc4M1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260425_031011.784 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.784 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 2, "update_id": "328bab5a-14fb-4f34-ae70-1cf1c6774cd2", "timestamp": "2026-04-25T03:10:11.783Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.785 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260425_031011.785 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.785 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.785 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.806 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.807 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.807 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.807 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjlmZDI3YzAzLWQ5MzMtNGZmMi1hMGJiLTA4ZmY4YmEwNDEwZiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS44MDdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.808 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9fd27c03-d933-4ff2-a0bb-08ff8ba0410f", "timestamp": "2026-04-25T03:10:11.807Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.808 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9fd27c03-d933-4ff2-a0bb-08ff8ba0410f", "timestamp": "2026-04-25T03:10:11.807Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.808 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.808 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.817 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260425_031011.818 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.818 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"}}] 20260425_031011.818 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.818 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.819 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.819 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.825 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 20260425_031011.825 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.829 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.830 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.830 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.831 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjk2NjllOTNkLTNkNWEtNDZiMS04ZmM1LThmMGNlZWMwMzJlZiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS44MzBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.831 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9669e93d-3d5a-46b1-8fc5-8f0ceec032ef", "timestamp": "2026-04-25T03:10:11.830Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.831 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "9669e93d-3d5a-46b1-8fc5-8f0ceec032ef", "timestamp": "2026-04-25T03:10:11.830Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.832 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.833 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260425_031011.833 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260425_031011.833 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.842 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.843 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.843 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.843 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.843 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260425_031011.843 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260425_031011.843 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.848 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.849 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.850 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.850 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImRkNDZkODYxLTM2NjAtNDcyNi05M2YwLWE1YzhlMDhlM2Y3ZSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS44NTBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.850 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "dd46d861-3660-4726-93f0-a5c8e08e3f7e", "timestamp": "2026-04-25T03:10:11.850Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.851 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "dd46d861-3660-4726-93f0-a5c8e08e3f7e", "timestamp": "2026-04-25T03:10:11.850Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.851 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.851 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.851 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.852 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "dd46d861-3660-4726-93f0-a5c8e08e3f7e", "timestamp": "2026-04-25T03:10:11.850Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.852 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.852 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.852 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWMyMDgyMmMtM2M1Mi00MjljLThkZGYtMjVkYmNkZTlmNDhiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjg1MloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20260425_031011.853 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.853 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 4, "update_id": "ac20822c-3c52-429c-8ddf-25dbcde9f48b", "timestamp": "2026-04-25T03:10:11.852Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.854 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.855 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.855 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.869 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.870 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.870 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.870 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.870 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260425_031011.871 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260425_031011.871 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.875 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260425_031011.876 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.876 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.876 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.877 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.877 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.884 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 20260425_031011.885 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.888 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260425_031011.888 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.889 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"}}] 20260425_031011.889 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.889 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.889 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.890 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.897 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260425_031011.897 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.898 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260425_031011.898 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.898 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.898 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.899 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.905 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.905 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) 20260425_031011.905 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) 20260425_031011.906 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.910 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260425_031011.910 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.910 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"}}] 20260425_031011.910 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.911 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.911 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.911 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.919 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.920 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.920 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.920 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjQ4ZDk2NDc4LThlNzItNGMzZC1hNDJhLWQyN2E5OTMzZTE4YiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS45MjBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.921 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "48d96478-8e72-4c3d-a42a-d27a9933e18b", "timestamp": "2026-04-25T03:10:11.920Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.921 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "48d96478-8e72-4c3d-a42a-d27a9933e18b", "timestamp": "2026-04-25T03:10:11.920Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.921 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.922 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "48d96478-8e72-4c3d-a42a-d27a9933e18b", "timestamp": "2026-04-25T03:10:11.920Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.922 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"}}] 20260425_031011.922 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.922 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.923 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "48d96478-8e72-4c3d-a42a-d27a9933e18b", "timestamp": "2026-04-25T03:10:11.920Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.923 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.938 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.939 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.939 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.939 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjZiMTAwNzEzLTU1OTctNGNhZS1iMGRhLTA4MzY5YzkzNWJlMiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS45MzlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.940 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6b100713-5597-4cae-b0da-08369c935be2", "timestamp": "2026-04-25T03:10:11.939Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.940 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6b100713-5597-4cae-b0da-08369c935be2", "timestamp": "2026-04-25T03:10:11.939Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.940 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.941 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6b100713-5597-4cae-b0da-08369c935be2", "timestamp": "2026-04-25T03:10:11.939Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.941 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260425_031011.942 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260425_031011.942 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMTJkOTNhYjEtYWY2Yi00ZTM1LWEzNTEtOWQ1MTVjMjZkNzg1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjk0MloifQ==", "Verb": "set"}}] 20260425_031011.942 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.943 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "12d93ab1-af6b-4e35-a351-9d515c26d785", "timestamp": "2026-04-25T03:10:11.942Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.943 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260425_031011.943 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.943 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.943 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 0, "update_id": "12d93ab1-af6b-4e35-a351-9d515c26d785", "timestamp": "2026-04-25T03:10:11.942Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.944 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.944 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.944 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMjE5YjFjZTktNmMyYS00MGY2LTlmMjUtYjM0YmU2ZDQ2YjVmIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjk0NFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20260425_031011.945 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.945 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 2, "update_id": "219b1ce9-6c2a-40f6-9f25-b34be6d46b5f", "timestamp": "2026-04-25T03:10:11.944Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.945 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260425_031011.945 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.945 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.946 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260425_031011.965 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.966 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260425_031011.967 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.967 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjU0MTA0MThlLWI2YTctNDQ4OC05Nzg4LWViNDI3OTEwZTRiOCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0yNVQwMzoxMDoxMS45NjdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDQ6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260425_031011.967 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5410418e-b6a7-4488-9788-eb427910e4b8", "timestamp": "2026-04-25T03:10:11.967Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.968 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5410418e-b6a7-4488-9788-eb427910e4b8", "timestamp": "2026-04-25T03:10:11.967Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"} 20260425_031011.968 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260425_031011.968 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260425_031011.968 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260425_031011.969 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "5410418e-b6a7-4488-9788-eb427910e4b8", "timestamp": "2026-04-25T03:10:11.967Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.969 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260425_031011.969 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260425_031011.969 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTQ0NmYyZTItZjc3ZC00ZTdlLWI5NDctNDg3OTRjZDRlMGRiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTI1VDAzOjEwOjExLjk2OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0yNVQwNDoxMDoxMS42MTNaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDM6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMjVUMDY6MTA6MTEuNjEzWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20260425_031011.970 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"} 20260425_031011.970 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-25T05:10:11.613Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-25T07:10:11.613Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "policies_count": 4, "update_id": "1446f2e2-f77d-4e7e-b947-48794cd4e0db", "timestamp": "2026-04-25T03:10:11.969Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "task_name": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "deployment.id": "test_dcae_policy_dpl_id"} 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-25T04:10:11.613Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.971 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-25T03:10:11.613Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260425_031011.972 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-25T06:10:11.613Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260425_031011.972 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear