Skip to content

Y26-245 - 'Upsert' endpoint to create study or update it to be externally managed #5999

Description

@KatyTaylor

User story

When a study is created in Sapio, and propagated to mlwarehouse and Sequencescape via the Integration Hub, we would like the Integration Hub to act the same whether the study exists in Sequencescape or not. Therefore, the Integration Hub will just call a Sequencescape 'upsert studies' endpoint, and the Sequencescape will behave differently depending on whether it already knows about the study or not.

Who are the primary contacts for this story

Katy, Steve I

Who is the nominated tester for UAT

Test within PSD, and with the Integration Hub.

Acceptance criteria

Consider if these features can be featured flagged to decouple testing and deployment.
To be considered successful the solution must allow:

Additional context

See Slack conversations:

Sequence diagram - relevant portion copied below:

Image

Deployment notes

Add any details that should be noted when deploying this feature. For example, is a database migration needed, a specifc rake task or other script that needs to be run, a dependency on another application or service that needs to be released first etc?
These notes are intended to ensure the developers releasing the feature know what needs to be done.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestSapio Phase 1Required for Phase 1 of the Sapio projectSapio StudiesSize: MMedium - medium effort & risk

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions