sanger / tol-lab-share

Rabbitmq consumer for TOL data input
MIT License
0 stars 0 forks source link

Y24-160 - Update labware processor to facilitate retention instructions #121

Closed dasunpubudumal closed 3 months ago

dasunpubudumal commented 4 months ago

User story As developers, we need to facilitate sending retention instructions for labware (each tube/plate submitted) to mlwh by updating tol_lab_share/processors/create_labware_processor.py to support the retention_instruction field in the schema.

Who are the primary contacts for this story Steve / Stuart / Dasun

Who is the nominated tester for UAT

Acceptance criteria To be considered successful the solution must allow:

Dependencies This story is blocked by the following dependencies:

References This story has a non-blocking relationship with:

Additional context Add any other context or screenshots about the feature request here.

dasunpubudumal commented 3 months ago

Note: How does traction-service push messages to warehouse?

traction-service has got a sidecar broker (accessible via http://trac-uat.psd.sanger.ac.uk:15672/) that has the shovel plugin installed.

image

traction-service publishes messages to its own broker, which the shovel plugin delivers to the psd.sequencescape exchange in the warehouse which is bound to the queue psd.mlwh.multi-lims-warehouse-consumer (via a routing key). This will be consumed by warren and unified_warehouse and will persist the data in mlwh.

The overall process explained:

Image