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

Merge branch 'tweak-ingest-message-catching' into '2.8.2-DEVELOPMENT'

don't send QA messaging for observation ingestions

See merge request !1444
parents 492f3889 08ce03a3
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1444don't send QA messaging for observation ingestions
Pipeline #11495 passed
......@@ -836,7 +836,7 @@ class WorkflowMessageHandler:
wf_req_id = subject["workflow_request_id"]
wf_request = self.info.lookup_workflow_request(wf_req_id)
if "ingest" in wf_request.workflow_name:
if "ingest" in wf_request.workflow_name and "obs" not in wf_request.workflow_name:
if "seci" not in wf_request.workflow_name:
subject["execution_wf_id"] = wf_request.argument["parent_wf_request_id"]
logger.debug("Sending ingestion complete message!")
......@@ -867,7 +867,7 @@ class WorkflowMessageHandler:
wf_req_id = subject["workflow_request_id"]
wf_request = self.info.lookup_workflow_request(wf_req_id)
if "ingest" in wf_request.workflow_name:
if "ingest" in wf_request.workflow_name and "obs" not in wf_request.workflow_name:
if "seci" not in wf_request.workflow_name:
subject["execution_wf_id"] = wf_request.argument["parent_wf_request_id"]
logger.debug("Sending ingestion failed message!")
......
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