20260411_031042.025 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260411_031042.025 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.026 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"}}] 20260411_031042.026 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.026 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.026 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.027 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.032 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260411_031042.033 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.033 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"}}] 20260411_031042.033 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.033 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.034 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.034 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.042 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260411_031042.042 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.043 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"}}] 20260411_031042.043 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.043 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.043 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.043 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.051 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.052 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.053 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.053 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": "eyJ1cGRhdGVfaWQiOiAiMTBiYjI0ZGMtYjE3Mi00ODhkLWI5YTUtM2JkZGM3ODg2YTNlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wNTNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.054 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "10bb24dc-b172-488d-b9a5-3bddc7886a3e", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.053Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.054 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "10bb24dc-b172-488d-b9a5-3bddc7886a3e", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.053Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.054 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.054 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.055 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.055 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "10bb24dc-b172-488d-b9a5-3bddc7886a3e", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.053Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.055 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.056 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.056 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": "eyJ1cGRhdGVfaWQiOiAiZWNlYjk2NDctMmEzNi00NzlhLTk0YWItYjM5NDlmNzk3YWJkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjA1NloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260411_031042.056 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.057 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "eceb9647-2a36-479a-94ab-b3949f797abd", "policies_count": 4, "action": "updated", "timestamp": "2026-04-11T03:10:42.056Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.057 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260411_031042.057 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.058 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.058 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.058 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.058 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.058 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.058 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.075 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260411_031042.075 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.075 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.076 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.076 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.076 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.083 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.083 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.083 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.083 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.084 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"} 20260411_031042.084 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.084 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.089 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.090 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.090 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.091 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": "eyJ1cGRhdGVfaWQiOiAiYzIwZmU2MGUtMDUyMC00NjQyLTkxZWMtZTY2NTY0YTk1YzE1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wOTBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.091 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "c20fe60e-0520-4642-91ec-e66564a95c15", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.090Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.091 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "c20fe60e-0520-4642-91ec-e66564a95c15", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.090Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.092 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.092 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.092 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.092 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "c20fe60e-0520-4642-91ec-e66564a95c15", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.090Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.093 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.093 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.093 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": "eyJ1cGRhdGVfaWQiOiAiMjE0Yjg4NTQtOTYxYy00Y2IxLTg4ZGEtNTVlMDQ1YjZmODQ0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjA5M1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260411_031042.094 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.094 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "214b8854-961c-4cb1-88da-55e045b6f844", "policies_count": 4, "action": "updated", "timestamp": "2026-04-11T03:10:42.093Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.094 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.095 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.095 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.113 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.114 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.114 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.115 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": "eyJ1cGRhdGVfaWQiOiAiOTUwNzg1ODItNDE4Ny00MDIwLTg1OWYtYzI0MmEzYzAwN2MwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4xMTRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.115 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95078582-4187-4020-859f-c242a3c007c0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.114Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.115 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95078582-4187-4020-859f-c242a3c007c0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.114Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.115 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.116 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "95078582-4187-4020-859f-c242a3c007c0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.114Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.116 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260411_031042.117 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260411_031042.117 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": "eyJ1cGRhdGVfaWQiOiAiMDM3YzZmNmQtNDQ1My00MWNlLTgyZTUtODFiNGY0ZjU1ODkyIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjExN1oifQ==", "Verb": "set"}}] 20260411_031042.117 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.118 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "037c6f6d-4453-41ce-82e5-81b4f4f55892", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.117Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.118 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20260411_031042.118 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "037c6f6d-4453-41ce-82e5-81b4f4f55892", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.117Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.118 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.118 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.133 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.134 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.134 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.134 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": "eyJ1cGRhdGVfaWQiOiAiMGYyYjU4OGUtNzYwYi00ZDIyLWFmODUtMzkxNzhmZDU1NjhmIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4xMzRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.135 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0f2b588e-760b-4d22-af85-39178fd5568f", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.134Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.135 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0f2b588e-760b-4d22-af85-39178fd5568f", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.134Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.135 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.135 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.136 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.136 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "0f2b588e-760b-4d22-af85-39178fd5568f", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.134Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.136 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.136 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.137 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": "eyJ1cGRhdGVfaWQiOiAiN2ZiZDU5MWQtY2VjMy00OTU4LThiMzgtZmE1OGM5YjhlZjJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjEzN1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260411_031042.137 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.138 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "7fbd591d-cec3-4958-8b38-fa58c9b8ef2c", "policies_count": 4, "action": "updated", "timestamp": "2026-04-11T03:10:42.137Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.138 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260411_031042.138 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.138 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.139 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.139 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.139 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.139 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.139 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.154 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.155 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.155 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.155 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.155 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"} 20260411_031042.155 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.155 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.159 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.159 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260411_031042.160 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.160 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260411_031042.160 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.164 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 20260411_031042.164 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.168 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.169 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.169 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.169 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": "eyJ1cGRhdGVfaWQiOiAiOWQ4NjBmZDMtZjQ3Ni00YzE2LWFhYTEtODhlOTZkNmVkNTMyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4xNjlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.170 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "9d860fd3-f476-4c16-aaa1-88e96d6ed532", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.169Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.170 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "9d860fd3-f476-4c16-aaa1-88e96d6ed532", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.169Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.170 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.170 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.171 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260411_031042.172 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260411_031042.172 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.183 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.184 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.184 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.184 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": "eyJ1cGRhdGVfaWQiOiAiYTY1Yzg3ODktMTRlOC00YmM0LWFhMTMtZGUyYzBiNDQ3M2RlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4xODRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.185 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "a65c8789-14e8-4bc4-aa13-de2c0b4473de", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.184Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.185 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "a65c8789-14e8-4bc4-aa13-de2c0b4473de", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.184Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.185 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.186 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "a65c8789-14e8-4bc4-aa13-de2c0b4473de", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.184Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.186 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260411_031042.187 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260411_031042.187 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": "eyJ1cGRhdGVfaWQiOiAiMzNkNGYwMjAtYzZhYS00ZTM2LWIxNjMtYzU2ZWM0NzVlM2UzIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjE4N1oifQ==", "Verb": "set"}}] 20260411_031042.187 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.188 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "33d4f020-c6aa-4e36-b163-c56ec475e3e3", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.187Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.188 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.188 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.188 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "33d4f020-c6aa-4e36-b163-c56ec475e3e3", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.187Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.189 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.189 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.189 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": "eyJ1cGRhdGVfaWQiOiAiMDNmNGU3YWUtMmI0OS00ODZjLWFjYTItMDJkNWIxYjQ3NzdlIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjE4OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260411_031042.190 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.190 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "03f4e7ae-2b49-486c-aca2-02d5b1b4777e", "policies_count": 2, "action": "updated", "timestamp": "2026-04-11T03:10:42.189Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.190 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260411_031042.190 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.190 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.191 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.210 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.211 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.211 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.211 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": "eyJ1cGRhdGVfaWQiOiAiMzJlMDI5ZTktZjRkZS00Nzc1LWJkZDctMmZkOTVkMzZkMWQwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4yMTFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.212 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "32e029e9-f4de-4775-bdd7-2fd95d36d1d0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.211Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.212 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "32e029e9-f4de-4775-bdd7-2fd95d36d1d0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.211Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.212 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.213 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "32e029e9-f4de-4775-bdd7-2fd95d36d1d0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.211Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.213 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"}}] 20260411_031042.213 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.213 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.214 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "32e029e9-f4de-4775-bdd7-2fd95d36d1d0", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.211Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.214 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.227 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.228 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) 20260411_031042.228 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) 20260411_031042.228 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.233 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.235 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.235 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.235 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": "eyJ1cGRhdGVfaWQiOiAiOGI2MDNhMjMtNGE3My00MTg1LThlOWQtOGMyY2QwZGUyMWE5IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4yMzVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.236 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "8b603a23-4a73-4185-8e9d-8c2cd0de21a9", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.235Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.236 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "8b603a23-4a73-4185-8e9d-8c2cd0de21a9", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.235Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.236 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.236 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": ["damaged config"], "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.236 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.237 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "8b603a23-4a73-4185-8e9d-8c2cd0de21a9", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.235Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.237 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": ["damaged config"], "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.237 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.238 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": "eyJ1cGRhdGVfaWQiOiAiMjJiYjU0NTgtYTJiOC00NjFmLWEyNTAtODRiZGY0NTA3OWZlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjIzN1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIifQ==", "Verb": "set"}}] 20260411_031042.238 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.239 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "22bb5458-a2b8-461f-a250-84bdf45079fe", "policies_count": 4, "action": "updated", "timestamp": "2026-04-11T03:10:42.237Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": ["damaged config"], "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.239 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260411_031042.239 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.239 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": ["damaged config"], "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.239 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.239 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.240 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260411_031042.240 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260411_031042.240 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.255 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.256 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.256 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.256 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": "eyJ1cGRhdGVfaWQiOiAiMTIwMmY1ZTMtOTM0MC00NzM0LThjYTAtZjJjM2Q0OGI3Y2NmIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4yNTZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.257 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "1202f5e3-9340-4734-8ca0-f2c3d48b7ccf", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.256Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.257 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "1202f5e3-9340-4734-8ca0-f2c3d48b7ccf", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.256Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.257 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.257 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "1202f5e3-9340-4734-8ca0-f2c3d48b7ccf", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.256Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.258 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260411_031042.258 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260411_031042.258 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": "eyJ1cGRhdGVfaWQiOiAiNzMzNDU3MmMtODg1NS00ZDFiLThlNjYtMzQwYjM1NDI5MmYwIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjI1OFoifQ==", "Verb": "set"}}] 20260411_031042.259 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.259 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "7334572c-8855-4d1b-8e66-340b354292f0", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.258Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.260 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "7334572c-8855-4d1b-8e66-340b354292f0", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.258Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.260 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260411_031042.260 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260411_031042.260 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "7334572c-8855-4d1b-8e66-340b354292f0", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.258Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20260411_031042.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "7334572c-8855-4d1b-8e66-340b354292f0", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.258Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.261 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.261 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.281 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.282 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.282 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.282 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": "eyJ1cGRhdGVfaWQiOiAiOThkYzBiMTQtNDI0NC00MDZjLTk4MzktNmFkMDg4ODk2YjlkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4yODJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.283 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "98dc0b14-4244-406c-9839-6ad088896b9d", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.282Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.283 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "98dc0b14-4244-406c-9839-6ad088896b9d", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.282Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.283 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.284 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "98dc0b14-4244-406c-9839-6ad088896b9d", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.282Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.284 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20260411_031042.284 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260411_031042.285 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODM1NWZhMmUtNjVhNi00Yzc5LWE4NWQtM2ZlMGExMDVjNzMyIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjI4NVoifQ==", "Verb": "set"}}] 20260411_031042.285 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.286 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "8355fa2e-65a6-4c79-a85d-3fe0a105c732", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.285Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.286 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.286 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260411_031042.286 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260411_031042.286 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "8355fa2e-65a6-4c79-a85d-3fe0a105c732", "policies_count": 0, "action": "updated", "timestamp": "2026-04-11T03:10:42.285Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.287 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260411_031042.287 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260411_031042.287 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": "eyJ1cGRhdGVfaWQiOiAiNzBiM2E2OTAtOGE5Yi00NDJlLWJlYjYtOGZhZDg5NWJiMjM3IiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTExVDAzOjEwOjQyLjI4N1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20260411_031042.288 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.288 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "70b3a690-8a9b-442e-beb6-8fad895bb237", "policies_count": 2, "action": "updated", "timestamp": "2026-04-11T03:10:42.287Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.288 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260411_031042.288 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260411_031042.289 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260411_031042.289 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.308 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260411_031042.308 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.308 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260411_031042.308 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.309 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.309 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.309 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.317 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.318 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.318 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.318 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": "eyJ1cGRhdGVfaWQiOiAiM2MxYjJmNDMtZWZiMC00OTQwLWFhYjgtYzZhZmU0OTI2NWEyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4zMThaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.319 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3c1b2f43-efb0-4940-aab8-c6afe49265a2", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.318Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.319 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "3c1b2f43-efb0-4940-aab8-c6afe49265a2", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.318Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.319 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.319 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.328 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.328 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) 20260411_031042.328 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) 20260411_031042.328 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.332 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.334 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.334 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": "eyJ1cGRhdGVfaWQiOiAiZTUyM2IwZGYtNDJiMi00MTBkLWFkNzEtNWIwMWVkNDVkYjM2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4zMzRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.334 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e523b0df-42b2-410d-ad71-5b01ed45db36", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.334Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.335 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e523b0df-42b2-410d-ad71-5b01ed45db36", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.334Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.335 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.335 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.335 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}] 20260411_031042.336 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e523b0df-42b2-410d-ad71-5b01ed45db36", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.334Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.336 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260411_031042.336 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.336 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "same": [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}], "unexpected": [{"policy_body": {"property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}]} 20260411_031042.337 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e523b0df-42b2-410d-ad71-5b01ed45db36", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.334Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.337 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "e523b0df-42b2-410d-ad71-5b01ed45db36", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.334Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.337 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.338 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.354 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260411_031042.354 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.354 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"}}] 20260411_031042.354 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.355 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.355 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.355 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.362 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 20260411_031042.362 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260411_031042.366 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.367 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.367 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.367 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": "eyJ1cGRhdGVfaWQiOiAiZjM5NmRkYzUtMTk0MS00YzBhLWFiZmUtZDRiN2MwMmJiZjMyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4zNjdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xMVQwMzoxMDo0Mi4wMDFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDQ6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTExVDA2OjEwOjQyLjAwMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMTFUMDY6MTA6NDIuMDAxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260411_031042.368 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f396ddc5-1941-4c0a-abfe-d4b7c02bbf32", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.367Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.368 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f396ddc5-1941-4c0a-abfe-d4b7c02bbf32", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.367Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}} 20260411_031042.368 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260411_031042.368 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f396ddc5-1941-4c0a-abfe-d4b7c02bbf32", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.367Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.369 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"}}] 20260411_031042.369 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260411_031042.369 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"} 20260411_031042.369 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_name": null, "instance": {"runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies_event": {"update_id": "f396ddc5-1941-4c0a-abfe-d4b7c02bbf32", "policies_count": 4, "action": "gathered", "timestamp": "2026-04-11T03:10:42.367Z"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T04:10:42.001Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "property": null}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T03:10:42.001Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-04-11T06:10:42.001Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "property": null}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-04-11T05:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-04-11T04:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-04-11T06:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-04-11T07:10:42.001Z"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_id": null, "node": {"type": "ms.nodes.type", "properties": {"application_config": {"policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-04-11T03:10:42.001Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id"} 20260411_031042.370 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear