20250712_031122.269 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.269 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250712_031122.270 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.270 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250712_031122.270 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.274 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_031122.275 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.275 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250712_031122.275 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.275 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.276 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.276 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.283 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.284 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) 20250712_031122.284 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) 20250712_031122.284 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.288 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.290 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.290 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.290 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuMjkwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZGNlMzJkY2EtOWYzYi00Y2ZjLWI2NzItYWIwNzlkYjJiZGI1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.291 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.290Z", "policies_count": 4, "update_id": "dce32dca-9f3b-4cfc-b672-ab079db2bdb5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.291 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.290Z", "policies_count": 4, "update_id": "dce32dca-9f3b-4cfc-b672-ab079db2bdb5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.291 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.291 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.291 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20250712_031122.292 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20250712_031122.292 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20250712_031122.292 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}} 20250712_031122.292 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}} 20250712_031122.292 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}} 20250712_031122.293 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}} 20250712_031122.293 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.303 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_031122.304 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.304 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250712_031122.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.304 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.304 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.305 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.313 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.314 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.315 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.315 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuMzE1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTE2MGVhZDktMDc4YS00MjJmLThmNzAtODliM2U5N2RmY2M1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.316 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.315Z", "policies_count": 4, "update_id": "5160ead9-078a-422f-8f70-89b3e97dfcc5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.316 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.315Z", "policies_count": 4, "update_id": "5160ead9-078a-422f-8f70-89b3e97dfcc5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.316 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.316 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.315Z", "policies_count": 4, "update_id": "5160ead9-078a-422f-8f70-89b3e97dfcc5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.317 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20250712_031122.317 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_031122.317 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4zMTdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJkZGIxNTYzNy1jYjM3LTQ0MjEtYjRhOC0xN2Q3ODEwOTZmYmQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250712_031122.318 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.318 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.317Z", "policies_count": 0, "update_id": "ddb15637-cb37-4421-b4a8-17d781096fbd"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.319 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.317Z", "policies_count": 0, "update_id": "ddb15637-cb37-4421-b4a8-17d781096fbd"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.319 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20250712_031122.319 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_031122.320 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.317Z", "policies_count": 0, "update_id": "ddb15637-cb37-4421-b4a8-17d781096fbd"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.320 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach'] 20250712_031122.320 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.317Z", "policies_count": 0, "update_id": "ddb15637-cb37-4421-b4a8-17d781096fbd"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.320 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.320 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.341 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 20250712_031122.341 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.346 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.348 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.348 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.348 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuMzQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODY1ZjY4M2EtNmVkZC00NTkxLThiNTYtYzhhN2ZhZjdkZTQ4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.349 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.348Z", "policies_count": 4, "update_id": "865f683a-6edd-4591-8b56-c8a7faf7de48"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.349 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.348Z", "policies_count": 4, "update_id": "865f683a-6edd-4591-8b56-c8a7faf7de48"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.350 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.350 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.348Z", "policies_count": 4, "update_id": "865f683a-6edd-4591-8b56-c8a7faf7de48"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.351 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.351 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.351 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4zNTFaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3MmFkNjJmMi01N2M5LTRjMWEtODFmMC01NWQxMTJjMWZjZDQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20250712_031122.352 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.352 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.351Z", "policies_count": 4, "update_id": "72ad62f2-57c9-4c1a-81f0-55d112c1fcd4"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.353 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250712_031122.353 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.353 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.353 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.353 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20250712_031122.354 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.354 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20250712_031122.354 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.371 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.372 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.372 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.372 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuMzcyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmQ4MTQ1N2YtMzFhNy00MmRiLThjNTUtMjM1YmQ4ZWQwNzdmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.373 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.372Z", "policies_count": 4, "update_id": "6d81457f-31a7-42db-8c55-235bd8ed077f"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.373 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.372Z", "policies_count": 4, "update_id": "6d81457f-31a7-42db-8c55-235bd8ed077f"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.373 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.374 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.372Z", "policies_count": 4, "update_id": "6d81457f-31a7-42db-8c55-235bd8ed077f"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.374 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20250712_031122.375 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_031122.375 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4zNzVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzYTY2MmEyZC1iYjEwLTQxOTAtOWJmMC1lYzEwMTY3ODQwM2MifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250712_031122.375 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.376 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.375Z", "policies_count": 0, "update_id": "3a662a2d-bb10-4190-9bf0-ec101678403c"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.376 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250712_031122.376 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.376 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.377 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.375Z", "policies_count": 0, "update_id": "3a662a2d-bb10-4190-9bf0-ec101678403c"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.377 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.377 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.377 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4zNzdaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJkNGUwOTJhNC0yYzE1LTRjYTctODJmMy00MDhkODE2YzRlY2QifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250712_031122.378 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.378 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.377Z", "policies_count": 2, "update_id": "d4e092a4-2c15-4ca7-82f3-408d816c4ecd"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.378 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_031122.378 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.379 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.379 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.400 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.401 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.401 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.401 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNDAxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjU4N2RlZDQtODM2Yi00MDFmLWJkNTMtY2Y4OWYxMDJiNWVmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.402 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.401Z", "policies_count": 4, "update_id": "b587ded4-836b-401f-bd53-cf89f102b5ef"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.402 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.401Z", "policies_count": 4, "update_id": "b587ded4-836b-401f-bd53-cf89f102b5ef"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.402 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.403 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.401Z", "policies_count": 4, "update_id": "b587ded4-836b-401f-bd53-cf89f102b5ef"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.403 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20250712_031122.403 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_031122.404 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi40MDRaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJhOGQ2ZWM4Yi0yZjE4LTQ3OTAtYTVmNC03OGIwMTQ0NDU0MzAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250712_031122.404 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.404 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.404Z", "policies_count": 0, "update_id": "a8d6ec8b-2f18-4790-a5f4-78b014445430"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.405 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach'] 20250712_031122.405 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.404Z", "policies_count": 0, "update_id": "a8d6ec8b-2f18-4790-a5f4-78b014445430"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.405 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.405 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.420 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.421 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.421 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.421 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNDIxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzE1MGZhNmYtOTY5MC00Nzk1LWI4YTMtZDA4YTg1YzdlZTllIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.422 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.421Z", "policies_count": 4, "update_id": "7150fa6f-9690-4795-b8a3-d08a85c7ee9e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.422 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.421Z", "policies_count": 4, "update_id": "7150fa6f-9690-4795-b8a3-d08a85c7ee9e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.422 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.423 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.421Z", "policies_count": 4, "update_id": "7150fa6f-9690-4795-b8a3-d08a85c7ee9e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.423 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250712_031122.423 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.423 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.424 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.421Z", "policies_count": 4, "update_id": "7150fa6f-9690-4795-b8a3-d08a85c7ee9e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.424 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.439 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.440 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.440 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.440 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNDQwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGQ0MzUxM2MtODI2Ni00OGI1LWIwNWYtY2I2MGM2M2RmZjk2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.441 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.440Z", "policies_count": 4, "update_id": "8d43513c-8266-48b5-b05f-cb60c63dff96"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.441 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.440Z", "policies_count": 4, "update_id": "8d43513c-8266-48b5-b05f-cb60c63dff96"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.441 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.442 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.440Z", "policies_count": 4, "update_id": "8d43513c-8266-48b5-b05f-cb60c63dff96"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.442 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.442 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.443 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi40NDJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwZTA1NmNkZi0yZDEwLTQ4M2YtYTVkNy0wYWJjNjZlZTkyNWQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20250712_031122.443 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.444 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.442Z", "policies_count": 4, "update_id": "0e056cdf-2d10-483f-a5d7-0abc66ee925d"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.444 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_031122.444 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.444 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.444 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.444 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20250712_031122.445 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.445 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20250712_031122.445 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.461 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.462 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.463 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.463 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNDYzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWQ4ZTRiNTQtOGFiMC00OGQ2LTg2MjktZjJkM2RiZmIzM2FlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.463 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.463Z", "policies_count": 4, "update_id": "1d8e4b54-8ab0-48d6-8629-f2d3dbfb33ae"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.464 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.463Z", "policies_count": 4, "update_id": "1d8e4b54-8ab0-48d6-8629-f2d3dbfb33ae"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.464 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.464 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.464 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.465 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.463Z", "policies_count": 4, "update_id": "1d8e4b54-8ab0-48d6-8629-f2d3dbfb33ae"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.465 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.465 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.466 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi40NjVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJhZjRkNzFkOC0zNjRkLTRkMmEtOGIyZS00MzU2OGZlNmEyYTYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20250712_031122.466 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.467 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.465Z", "policies_count": 4, "update_id": "af4d71d8-364d-4d2a-8b2e-43568fe6a2a6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.467 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250712_031122.467 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.467 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.467 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.468 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20250712_031122.468 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.468 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20250712_031122.468 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.483 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.484 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.484 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.484 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.484 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250712_031122.484 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250712_031122.485 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.490 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.491 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.491 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.491 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNDkxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmVkOTgyMzEtNDJkNC00MTZhLWJkZTYtMmM0ZjAyODI1YzY3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.492 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.491Z", "policies_count": 4, "update_id": "2ed98231-42d4-416a-bde6-2c4f02825c67"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.492 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.491Z", "policies_count": 4, "update_id": "2ed98231-42d4-416a-bde6-2c4f02825c67"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.492 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.493 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.491Z", "policies_count": 4, "update_id": "2ed98231-42d4-416a-bde6-2c4f02825c67"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.493 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20250712_031122.494 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250712_031122.494 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi40OTRaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlNDNjOGU2OC0zNDRhLTQ3NjktOGExNS1iNWQ0YjQ1ZmNhZmMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250712_031122.495 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.495 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.494Z", "policies_count": 0, "update_id": "e43c8e68-344a-4769-8a15-b5d4b45fcafc"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.496 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.496 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.496 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.494Z", "policies_count": 0, "update_id": "e43c8e68-344a-4769-8a15-b5d4b45fcafc"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.497 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.497 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.497 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi40OTdaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJjZDdkOTA0ZS0wMzNkLTQ3NTctYjNlMy0xNzAxYjljMTZjNjAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwNDoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250712_031122.498 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.498 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.497Z", "policies_count": 2, "update_id": "cd7d904e-033d-4757-b3e3-1701b9c16c60"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.498 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250712_031122.498 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.499 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.499 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.519 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.520 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.521 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.521 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNTIxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzMyNjYxYzYtZGQwZC00MTk3LTk4NzAtZDYxZDZkYjUzM2Y1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.521 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.521Z", "policies_count": 4, "update_id": "732661c6-dd0d-4197-9870-d61d6db533f5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.522 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.521Z", "policies_count": 4, "update_id": "732661c6-dd0d-4197-9870-d61d6db533f5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.522 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.522 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}] 20250712_031122.522 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250712_031122.523 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.521Z", "policies_count": 4, "update_id": "732661c6-dd0d-4197-9870-d61d6db533f5"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.523 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250712_031122.523 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}} 20250712_031122.524 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi41MjRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyNGFlYmVjMS04OTgwLTQxOTItOTE4ZS1kNzljNzA4MDVlYmEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20250712_031122.524 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.525 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2025-07-12T03:11:22.524Z", "policies_count": 4, "update_id": "24aebec1-8980-4192-918e-d79c70805eba"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.525 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250712_031122.525 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}} 20250712_031122.525 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}} 20250712_031122.525 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.526 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20250712_031122.526 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20250712_031122.526 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20250712_031122.526 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.542 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250712_031122.543 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.543 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250712_031122.543 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.543 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.544 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.544 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.552 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250712_031122.552 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.552 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.553 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.553 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.553 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.561 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.562 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) 20250712_031122.562 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) 20250712_031122.562 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.566 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_031122.567 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.567 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250712_031122.567 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.567 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.568 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.568 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.576 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250712_031122.576 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.576 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250712_031122.577 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.577 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.577 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.577 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.584 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 20250712_031122.584 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.588 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.589 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.589 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.590 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNTg5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZGM0NGU5YjQtNTMxMS00ZTk4LWI4MzUtOTkyN2MzYTRhOWQ2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.590 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.589Z", "policies_count": 4, "update_id": "dc44e9b4-5311-4e98-b835-9927c3a4a9d6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.590 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.589Z", "policies_count": 4, "update_id": "dc44e9b4-5311-4e98-b835-9927c3a4a9d6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.591 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.591 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.591 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}}] 20250712_031122.592 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.589Z", "policies_count": 4, "update_id": "dc44e9b4-5311-4e98-b835-9927c3a4a9d6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.592 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "property": null}}}}}, removed_policies: ["<<>>"] 20250712_031122.592 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}}} 20250712_031122.592 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}]} 20250712_031122.593 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.589Z", "policies_count": 4, "update_id": "dc44e9b4-5311-4e98-b835-9927c3a4a9d6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.593 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.589Z", "policies_count": 4, "update_id": "dc44e9b4-5311-4e98-b835-9927c3a4a9d6"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.593 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.594 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.594 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.610 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.611 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.612 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.612 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNjEyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzc1N2IzNmMtNmQwYy00MWZiLThkYTAtYTYwZGFlYTAyMTdlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.612 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.612Z", "policies_count": 4, "update_id": "c757b36c-6d0c-41fb-8da0-a60daea0217e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.613 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.612Z", "policies_count": 4, "update_id": "c757b36c-6d0c-41fb-8da0-a60daea0217e"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.613 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.613 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.622 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.622 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.622 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.622 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.622 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250712_031122.623 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250712_031122.623 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250712_031122.628 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.629 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.629 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.629 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDctMTJUMDM6MTE6MjIuNjI5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2Q4YWIwMWQtZjU3Yi00ODNkLWExMDgtMThiZmM4ODc5NjY5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTEyVDA2OjExOjIyLjI0NloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0xMlQwMzoxMToyMi4yNDZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDY6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMTJUMDQ6MTE6MjIuMjQ2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250712_031122.630 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.629Z", "policies_count": 4, "update_id": "7d8ab01d-f57b-483d-a108-18bfc8879669"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.630 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.629Z", "policies_count": 4, "update_id": "7d8ab01d-f57b-483d-a108-18bfc8879669"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250712_031122.630 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}} 20250712_031122.631 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.629Z", "policies_count": 4, "update_id": "7d8ab01d-f57b-483d-a108-18bfc8879669"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.631 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250712_031122.631 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250712_031122.631 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250712_031122.632 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_target": null, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-12T05:11:22.246Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-12T07:11:22.246Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "property": null}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-07-12T03:11:22.629Z", "policies_count": 4, "update_id": "7d8ab01d-f57b-483d-a108-18bfc8879669"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-12T04:11:22.246Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-12T06:11:22.246Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-12T03:11:22.246Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "workflow_id": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}} 20250712_031122.632 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear