Skip to content
Snippets Groups Projects
Commit 99e12dd8 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

RH messaging fix

parent 871a3057
No related branches found
No related tags found
1 merge request!437RH messaging fix
Pipeline #2606 passed
......@@ -143,7 +143,7 @@ class CartaLauncher:
def notify_ready(self, carta_url: str):
if self.settings["send_ready"] is True:
self.notification.send_session_ready(carta_url)
else:
elif self.settings["send_ready"] is False:
self.archive_connect.send_carta_url_to_rh(carta_url)
def teardown(self):
......
......@@ -181,6 +181,7 @@ class WorkflowService(WorkflowServiceIF):
:param workflow_request_id: ID of carta workflow that wants to send this message
:param carta_url: JSON blob with CARTA URL
"""
logger.info("SENDING CARTA MESSAGE to AAT Request Handler!")
workflow_request = self.info.lookup_workflow_request(workflow_request_id)
archive_router = Router("archive")
routing_key = f"ws-workflow.{workflow_request_id}.carta-instance-ready"
......
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