Skip to content
Snippets Groups Projects
Commit 679d00d6 authored by Jim Sheckard's avatar Jim Sheckard
Browse files

WS-1082: Forgotten communications bits

parent c3a6a35a
No related branches found
Tags end-of-sprint-16.999
1 merge request!987WS-1082: Forgotten communications bits
Pipeline #5725 passed
......@@ -118,6 +118,16 @@ archive_msg_templates = DictView(
"message": "seci complete",
"status": "complete",
},
"coarse_failed": {
"application": "workflow",
"message": "coarse failed",
"status": "failed",
},
"coarse_complete": {
"application": "workflow",
"message": "coarse complete",
"status": "complete",
},
"do_not_calibrate": {
"application": "qa-script",
"logData": {
......
......@@ -962,7 +962,7 @@ class WorkflowMessageHandler:
logger.info(f"SENDING FAILED COARSE CUBE MESSAGE to VLASS Manager for request #{wf_id}!")
routing_key = f"ws-workflow.coarse_cube.{wf_id}"
cube_msg = ArchiveMessageArchitect(routing_key=routing_key, request=wf_request).compose_message(
"coarse_cube_failed"
"coarse_failed"
)
self.archive_messenger.send_message(**cube_msg)
......@@ -983,7 +983,7 @@ class WorkflowMessageHandler:
logger.info(f"SENDING COARSE CUBE COMPLETE MESSAGE to VLASS Manager for request #{wf_id}!")
routing_key = f"ws-workflow.coarse_cube.{wf_id}"
cube_msg = ArchiveMessageArchitect(routing_key=routing_key, request=wf_request).compose_message(
"coarse_cube_complete"
"coarse_complete"
)
self.archive_messenger.send_message(**cube_msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment