Skip to content

DPL-046 Biosero - maintainance tasks to support new cherrytrack service #9

@harrietc52

Description

@harrietc52

Describe the Housekeeping

Test existing endpoints

  • /beckman/failure-types
  • /beckman/robots
  • /cherrypicked-plates/create
  • /cherrypicked-plates/fail
  • /plate-events/create
  • /plates/new

Required for SAT

  • Rename EVENT_DESTINATION_CREATED -> completed
  • Remove all things EVENT_SOURCE_ALL_NEGATIVES
  • update generation of testing data script to pull picked samples from mongo (@andrewsparkes )
  • Update PostMan (Lighthouse endpoints)
  • Add index samples collection in mongo for lh_sample_uuid
  • check events message include user/robot? NOT NEEDED, REMOVED
  • Remove robot and user id from event parameters
  • Merge cherrytrack changes into develop and deploy to UAT
  • Deploy lighthouse dev code branch into UAT
  • Drop and recreate UAT database from cherrytrack
  • Integration test run to check all working

Post SAT todo's/ Required for LIVE:

  • Add lh_sample_uuid Index to PROD mongo samples_collection (add to Crawler) ready to deploy @andrewsparkes
  • Make event names consistent - then email Rob (and requires URS update) - decided against this on 15/6
  • Add robots as users to labwhere in PROD
  • Add protection to reset script - DANGER to prod (PR here)
  • Add the call to Labwhere to set source plates sent to output stacks for specific event types = source_completed and no_pickable_samples

Nice to Have:

  • Security - BioSero -> Cherrytrack DB (check biosero DB permissions on stored proc or specific tables in DB - psd_admin has GRANT)
  • Integration test - E2E via Docker (post SAT)

DONE

  • Backups with DBA (Done: email David Harper re: backups / frequency and replication. Todo: Rich L to confirm about Tier 1) @andrewsparkes
  • Security - Lighthouse -> Cherrytrack (GET only - for first release just use HTTPS, but no API key) @pjvv
  • Security - BioSero -> Lighthouse (POST events HTTPS, including API key per env) add api key to lighthouse (flask default behavior)
  • Deployment DPL-023-1 @pjvv
  • Update PostMan (Cherrytrack endpoints)
  • Self contained deliverables (docker-compose.yml in Cherrytrack) @pjvv
  • Write access tests from BioSero to the DB

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions