Fixing post-ingestion message error
2 unresolved threads
2 unresolved threads
Sending an ingestion-complete.vlba message to AAT when an observation ingestion was successful. The default img-ingestion-complete
message required a requestId
parameter which ingest_obs
workflows don't have and they would've kicked off the wrong indexer.
More work will be done on the AAT side in the future which may warrant some changes here.
Merge request reports
Activity
assigned to @dnemergu
318 318 elif msg_type == "img-ingestion-complete": 319 319 logger.info(f"Sending 'Image Ingestion Complete' indexing message to AAT for project {project_code}!") 320 320 msg_arch = ArchiveMessageArchitect(routing_key="ingestor.images", request=None, project_code=project_code) 321 elif msg_type == "obs-ingestion-complete": 322 logger.info(f"Sending 'Observation Ingestion Complete' indexing message to AAT for project {project_code}!") 323 msg_arch = ArchiveMessageArchitect( added 1 commit
- 1c8ad2d2 - Preventing the architect from falling over if a request isn't attached
120 120 "status": "complete", 121 121 }, 122 122 }, 123 "obs_ingestion_complete": { 124 "application": "ingestor", 125 "message": "Observation Ingestion Complete", 126 "request": "observation", enabled an automatic merge when the pipeline for ba0f323c succeeds
mentioned in commit 9c7db06b
Please register or sign in to reply