20260606_031009.953 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260606_031009.953 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.953 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"}}] 20260606_031009.954 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031009.954 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031009.954 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.954 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031009.960 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.961 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031009.961 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031009.962 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiOGI3YzdiMjYtZmU3MS00M2Q4LWI0MjctZTlhZDA3MzgzN2IwIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45NjJaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031009.962 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b7c7b26-fe71-43d8-b427-e9ad073837b0", "action": "gathered", "timestamp": "2026-06-06T03:10:09.962Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.963 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8b7c7b26-fe71-43d8-b427-e9ad073837b0", "action": "gathered", "timestamp": "2026-06-06T03:10:09.962Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031009.963 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031009.963 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031009.972 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.973 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031009.974 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031009.974 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMzRkYTlkOWYtNmU2Ni00ZjgyLWJhZWYtZTAwMDAwYTJkODJhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45NzRaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031009.974 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "34da9d9f-6e66-4f82-baef-e00000a2d82a", "action": "gathered", "timestamp": "2026-06-06T03:10:09.974Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.975 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "34da9d9f-6e66-4f82-baef-e00000a2d82a", "action": "gathered", "timestamp": "2026-06-06T03:10:09.974Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031009.975 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031009.975 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "34da9d9f-6e66-4f82-baef-e00000a2d82a", "action": "gathered", "timestamp": "2026-06-06T03:10:09.974Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.976 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20260606_031009.976 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260606_031009.976 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiZDkxZDhlYjktZGMxMC00ZTg5LWE2OTAtZmRjMDdmZmFhZTdhIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjA5Ljk3NloiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260606_031009.977 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031009.977 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d91d8eb9-dc10-4e89-a690-fdc07ffaae7a", "action": "updated", "timestamp": "2026-06-06T03:10:09.976Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.977 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031009.977 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031009.978 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031009.978 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d91d8eb9-dc10-4e89-a690-fdc07ffaae7a", "action": "updated", "timestamp": "2026-06-06T03:10:09.976Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.978 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031009.978 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031009.979 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTIxMGY5YzctZjFhZS00NWJhLTkyMTQtZmRhZjc3ODkyMzBiIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjA5Ljk3OVoiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260606_031009.979 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031009.980 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1210f9c7-f1ae-45ba-9214-fdaf7789230b", "action": "updated", "timestamp": "2026-06-06T03:10:09.979Z", "policies_count": 2}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.980 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260606_031009.980 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031009.980 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031009.980 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031009.999 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031009.999 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260606_031010.000 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.000 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260606_031010.000 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.005 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260606_031010.005 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.005 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.006 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.006 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.006 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.015 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.016 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.016 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.017 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiOTg4ODI1NTktYTM3OS00YTMwLWI1N2UtMDFkZjczZDgxOGRmIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4wMTdaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.017 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "98882559-a379-4a30-b57e-01df73d818df", "action": "gathered", "timestamp": "2026-06-06T03:10:10.017Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.018 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "98882559-a379-4a30-b57e-01df73d818df", "action": "gathered", "timestamp": "2026-06-06T03:10:10.017Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.018 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.018 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031010.018 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031010.018 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "98882559-a379-4a30-b57e-01df73d818df", "action": "gathered", "timestamp": "2026-06-06T03:10:10.017Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.019 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031010.019 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031010.019 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiZTdkMzhjNWYtZDBhNy00NGYzLTg3MTgtZmViZDcyOTM1NGJkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjAxOVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.020 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.020 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e7d38c5f-d0a7-44f3-8718-febd729354bd", "action": "updated", "timestamp": "2026-06-06T03:10:10.019Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.021 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.022 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.022 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.037 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 20260606_031010.038 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.040 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 20260606_031010.041 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.043 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.043 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.044 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.044 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.044 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260606_031010.044 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260606_031010.044 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.049 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.050 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.051 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.051 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMWY3YjY0ZmEtOTZkOC00NzlkLWI5MjMtNDg2ZmU2NDkwZmNkIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4wNTFaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.051 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f7b64fa-96d8-479d-b923-486fe6490fcd", "action": "gathered", "timestamp": "2026-06-06T03:10:10.051Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.052 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f7b64fa-96d8-479d-b923-486fe6490fcd", "action": "gathered", "timestamp": "2026-06-06T03:10:10.051Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.052 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.052 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f7b64fa-96d8-479d-b923-486fe6490fcd", "action": "gathered", "timestamp": "2026-06-06T03:10:10.051Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.053 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20260606_031010.053 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260606_031010.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": {"Value": "eyJ1cGRhdGVfaWQiOiAiOTgyOWQ4N2QtZmMxMi00YTg3LTlmNzctY2I0ZGRkMGU1MmZiIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjA1M1oiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260606_031010.054 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.054 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "9829d87d-fc12-4a87-9f77-cb4ddd0e52fb", "action": "updated", "timestamp": "2026-06-06T03:10:10.053Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.055 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "9829d87d-fc12-4a87-9f77-cb4ddd0e52fb", "action": "updated", "timestamp": "2026-06-06T03:10:10.053Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.055 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20260606_031010.055 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260606_031010.055 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "9829d87d-fc12-4a87-9f77-cb4ddd0e52fb", "action": "updated", "timestamp": "2026-06-06T03:10:10.053Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.056 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both'] 20260606_031010.056 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "9829d87d-fc12-4a87-9f77-cb4ddd0e52fb", "action": "updated", "timestamp": "2026-06-06T03:10:10.053Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"} 20260606_031010.056 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.056 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.075 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.076 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.076 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.077 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiNmUwMDc1MDMtNDRmNy00YTk1LTg0YzUtYmQwZjI4ZDBmM2QxIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4wNzZaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.077 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e007503-44f7-4a95-84c5-bd0f28d0f3d1", "action": "gathered", "timestamp": "2026-06-06T03:10:10.076Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.077 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e007503-44f7-4a95-84c5-bd0f28d0f3d1", "action": "gathered", "timestamp": "2026-06-06T03:10:10.076Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.078 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.078 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e007503-44f7-4a95-84c5-bd0f28d0f3d1", "action": "gathered", "timestamp": "2026-06-06T03:10:10.076Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.078 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"}}] 20260606_031010.078 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.079 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.079 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6e007503-44f7-4a95-84c5-bd0f28d0f3d1", "action": "gathered", "timestamp": "2026-06-06T03:10:10.076Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.079 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.093 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.093 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.093 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.093 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.093 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260606_031010.094 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260606_031010.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.099 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.100 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.100 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.100 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMGQwZGMwYWUtMGVjOC00N2JjLWI2YjQtNDQ4MjViYzlkNDRkIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4xMDBaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.101 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "0d0dc0ae-0ec8-47bc-b6b4-44825bc9d44d", "action": "gathered", "timestamp": "2026-06-06T03:10:10.100Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.101 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "0d0dc0ae-0ec8-47bc-b6b4-44825bc9d44d", "action": "gathered", "timestamp": "2026-06-06T03:10:10.100Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.101 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.101 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031010.101 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031010.102 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "0d0dc0ae-0ec8-47bc-b6b4-44825bc9d44d", "action": "gathered", "timestamp": "2026-06-06T03:10:10.100Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.102 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031010.102 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031010.103 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTc0MzI5OWMtMDQwNC00ZWVhLWFmMDktOTIyOGZhMTExYTBlIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjEwM1oiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.103 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.104 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1743299c-0404-4eea-af09-9228fa111a0e", "action": "updated", "timestamp": "2026-06-06T03:10:10.103Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.104 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260606_031010.104 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031010.104 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.105 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.105 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.105 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.105 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.105 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.121 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260606_031010.122 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.122 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"}}] 20260606_031010.122 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.122 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.123 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.123 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.131 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.131 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.132 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.132 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMmRkODhiYmItMmQ2ZC00MTQwLWFiMTItNDEwMDE2NWJjMGQ5IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4xMzJaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.132 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2dd88bbb-2d6d-4140-ab12-4100165bc0d9", "action": "gathered", "timestamp": "2026-06-06T03:10:10.132Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.133 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2dd88bbb-2d6d-4140-ab12-4100165bc0d9", "action": "gathered", "timestamp": "2026-06-06T03:10:10.132Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.133 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.133 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2dd88bbb-2d6d-4140-ab12-4100165bc0d9", "action": "gathered", "timestamp": "2026-06-06T03:10:10.132Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.134 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20260606_031010.134 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260606_031010.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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMzdkNTJkMmUtYzA2ZS00NDU5LTk4MDEtZGVmNjMxNzRkZTIwIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjEzNFoiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260606_031010.135 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.135 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "37d52d2e-c06e-4459-9801-def63174de20", "action": "updated", "timestamp": "2026-06-06T03:10:10.134Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.135 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031010.135 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031010.136 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "37d52d2e-c06e-4459-9801-def63174de20", "action": "updated", "timestamp": "2026-06-06T03:10:10.134Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.136 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031010.136 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031010.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": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTViYWJlNGEtZGZiYi00YjJkLTk2OTctZGI2NDhjY2I5MDIzIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjEzNloiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260606_031010.137 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.138 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a5babe4a-dfbb-4b2d-9697-db648ccb9023", "action": "updated", "timestamp": "2026-06-06T03:10:10.136Z", "policies_count": 2}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.138 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260606_031010.138 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031010.138 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.138 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.158 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260606_031010.159 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.159 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260606_031010.159 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.159 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.160 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.160 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.167 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260606_031010.168 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.168 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"}}] 20260606_031010.168 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.168 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.169 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.169 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.177 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.178 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.178 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.178 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiYWE4YzBiZjUtMmE5Yy00ZTdiLTkzOTYtYmE5ODIzOWI5YmUzIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4xNzhaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.179 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "aa8c0bf5-2a9c-4e7b-9396-ba98239b9be3", "action": "gathered", "timestamp": "2026-06-06T03:10:10.178Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.179 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "aa8c0bf5-2a9c-4e7b-9396-ba98239b9be3", "action": "gathered", "timestamp": "2026-06-06T03:10:10.178Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.179 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.179 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "aa8c0bf5-2a9c-4e7b-9396-ba98239b9be3", "action": "gathered", "timestamp": "2026-06-06T03:10:10.178Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.180 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20260606_031010.180 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260606_031010.180 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiMmM1NmU1OWUtMzk1NC00NTMyLWI5MDAtNTYyZGI4YjM0ZWU2IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjE4MFoiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260606_031010.181 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.181 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2c56e59e-3954-4532-b900-562db8b34ee6", "action": "updated", "timestamp": "2026-06-06T03:10:10.180Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.181 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both'] 20260606_031010.181 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2c56e59e-3954-4532-b900-562db8b34ee6", "action": "updated", "timestamp": "2026-06-06T03:10:10.180Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"} 20260606_031010.182 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.182 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.197 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.198 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.199 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.199 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiNTI1NzA0OTAtMDYzMy00MDllLWI3ZmEtZmY0ZWIwZDU2Y2RhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4xOTlaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.199 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "52570490-0633-409e-b7fa-ff4eb0d56cda", "action": "gathered", "timestamp": "2026-06-06T03:10:10.199Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.200 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "52570490-0633-409e-b7fa-ff4eb0d56cda", "action": "gathered", "timestamp": "2026-06-06T03:10:10.199Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.200 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.200 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.200 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}] 20260606_031010.201 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "52570490-0633-409e-b7fa-ff4eb0d56cda", "action": "gathered", "timestamp": "2026-06-06T03:10:10.199Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.201 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260606_031010.201 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}} 20260606_031010.201 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_body": {"property": null, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}], "duplicate": [], "ignored": [{"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach"}]} 20260606_031010.202 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "52570490-0633-409e-b7fa-ff4eb0d56cda", "action": "gathered", "timestamp": "2026-06-06T03:10:10.199Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.202 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "52570490-0633-409e-b7fa-ff4eb0d56cda", "action": "gathered", "timestamp": "2026-06-06T03:10:10.199Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"} 20260606_031010.202 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.203 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.203 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.219 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.220 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.221 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.221 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjJiZWEzYjQtMDY3My00ZmIyLTgyMjYtNmU5ZDQ1ZDFjNGE3IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4yMjFaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.221 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b2bea3b4-0673-4fb2-8226-6e9d45d1c4a7", "action": "gathered", "timestamp": "2026-06-06T03:10:10.221Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b2bea3b4-0673-4fb2-8226-6e9d45d1c4a7", "action": "gathered", "timestamp": "2026-06-06T03:10:10.221Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.222 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.223 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.223 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.223 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260606_031010.223 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260606_031010.223 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.234 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.235 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.235 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.235 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiZWY0ODNjY2YtYjVlMS00ZDhlLThlZTctMGNmODIwZThhMzE2IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4yMzVaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.236 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ef483ccf-b5e1-4d8e-8ee7-0cf820e8a316", "action": "gathered", "timestamp": "2026-06-06T03:10:10.235Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.236 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ef483ccf-b5e1-4d8e-8ee7-0cf820e8a316", "action": "gathered", "timestamp": "2026-06-06T03:10:10.235Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.236 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.237 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ef483ccf-b5e1-4d8e-8ee7-0cf820e8a316", "action": "gathered", "timestamp": "2026-06-06T03:10:10.235Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.237 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"}}] 20260606_031010.237 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.237 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.238 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "ef483ccf-b5e1-4d8e-8ee7-0cf820e8a316", "action": "gathered", "timestamp": "2026-06-06T03:10:10.235Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.238 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.252 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260606_031010.253 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.253 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"}}] 20260606_031010.253 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.253 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.254 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.254 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.262 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.263 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.263 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.263 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZjBkZTQ0MWEtNjk1NC00YjNkLWI2YzYtNmU0MDJlYWEzZTViIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4yNjNaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.264 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f0de441a-6954-4b3d-b6c6-6e402eaa3e5b", "action": "gathered", "timestamp": "2026-06-06T03:10:10.263Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.264 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f0de441a-6954-4b3d-b6c6-6e402eaa3e5b", "action": "gathered", "timestamp": "2026-06-06T03:10:10.263Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.264 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.264 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031010.265 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031010.265 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f0de441a-6954-4b3d-b6c6-6e402eaa3e5b", "action": "gathered", "timestamp": "2026-06-06T03:10:10.263Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.265 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031010.265 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031010.266 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiODM2YjJhMmItMjlhNS00MmUyLTgyNDgtMTNlMTgxMDhkMzk1IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjI2NloiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.266 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.267 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "836b2a2b-29a5-42e2-8248-13e18108d395", "action": "updated", "timestamp": "2026-06-06T03:10:10.266Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.267 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260606_031010.267 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031010.267 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.268 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.268 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.268 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.268 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.268 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.283 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.283 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) 20260606_031010.283 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) 20260606_031010.283 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.287 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.287 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) 20260606_031010.287 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) 20260606_031010.287 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260606_031010.292 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.293 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260606_031010.293 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.293 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTE1Mzk1MWMtZjE4NS00ODFhLWIxYjMtMjJhYjdmZDcxZmI4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0wNlQwMzoxMDoxMC4yOTNaIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTA2VDA2OjEwOjA5LjkyOVoifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDQ6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.294 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a153951c-f185-481a-b1b3-22ab7fd71fb8", "action": "gathered", "timestamp": "2026-06-06T03:10:10.293Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.294 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a153951c-f185-481a-b1b3-22ab7fd71fb8", "action": "gathered", "timestamp": "2026-06-06T03:10:10.293Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}} 20260606_031010.294 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260606_031010.294 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"property": null, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260606_031010.294 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260606_031010.295 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a153951c-f185-481a-b1b3-22ab7fd71fb8", "action": "gathered", "timestamp": "2026-06-06T03:10:10.293Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.295 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260606_031010.295 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260606_031010.296 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": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjhmNGU2NmQtMjE4My00YWVmLTkzNDItOTVlMmI2ZDE5NjAxIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA2LTA2VDAzOjEwOjEwLjI5NloiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0wNlQwMzoxMDowOS45MjlaIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMDZUMDY6MTA6MDkuOTI5WiJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20260606_031010.296 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"} 20260606_031010.297 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "node": {"name": "test_ms_name", "type": "ms.nodes.type", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name"}, "workflow_id": null, "type": "node-instance", "plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-06-06T05:10:09.929Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name"}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-06-06T04:10:09.929Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-06-06T07:10:09.929Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b8f4e66d-2183-4aef-9342-95e2b6d19601", "action": "updated", "timestamp": "2026-06-06T03:10:10.296Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id"} 20260606_031010.297 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260606_031010.297 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260606_031010.297 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260606_031010.297 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.298 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.298 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-06-06T03:10:09.929Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260606_031010.298 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-06-06T06:10:09.929Z"}, "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260606_031010.298 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear