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

missed some indexer fixes

parent 561a3484
No related branches found
No related tags found
2 merge requests!1571catch 2.8.2.3 up with main,!1563missed some indexer fixes
Pipeline #13439 passed
......@@ -294,7 +294,7 @@ class ArchiveMessageArchitect(MessageArchitectIF):
# image indexing is based on project not request id, use different subject
template["subject"] = (
f"WS workflow triggering indexer for {self.project}"
if self.key in ["ingestor.images", "ingestion-complete.vlba"]
if self.key in ["ingestor.images", "ingestion-complete.vlba", "ingestion-complete.metadata"]
else f"WS workflow request #{self.request.workflow_request_id}"
)
template["routing_key"] = self.key
......@@ -326,8 +326,8 @@ class ArchiveMessageArchitect(MessageArchitectIF):
template["stop"] = self.stage_info["stop"]
if self.telescope is not None:
template["telescope"] = self.telescope
template["ingestion_type"] = self._determine_indexer_type(self.telescope)
template["logData"]["telescope"] = self.telescope
template["logData"]["ingestion_type"] = self._determine_indexer_type(self.telescope)
return DictView(template)
......
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