Skip to content

Y24-185 - Move Sequencescape API v1 calls over to API v2 #410

@sdjmchattie

Description

@sdjmchattie

User story

Sequencescape API v1 will be shut down in the near future and has been deprecated for the past 5 years. We should switch usage of the API over to v2 by installing and making use of the json_api_client gem.

Who are the primary contacts for this story

Stuart McHattie

Who is the nominated tester for UAT

PSD

Acceptance criteria

To be considered successful the solution must allow:

  • No more API v1 calls are made to Sequencescape
  • All traces of sequencescape-client-api and its config have been removed.
  • v2 calls send the API key (see section here). Think Deployment project already deploys the relevant API key. It just has to be included as a header.

Dependencies
Any new endpoints required in Sequencescape will have to be created as they are discovered to be missing. A new story should be created under that repository if there are indeed endpoints to create.

Additional context

Timebox to a medium story - if overruns we will review.

The calls made during the last two week period are as below, with counts for each endpoint:

  • GET - /api/1/: 33

  • GET - /api/1/tag_layout_templates: 4

  • GET - /api/1/tag_layout_templates/2: 4

  • GET - /api/1/{uuid}: 45

  • GET - /api/1/{uuid}/qcables: 12

  • POST - /api/1/qcable_creators: 4

  • POST - /api/1/{uuid}/first: 17

  • POST - /api/1/{uuid}/lots: 4

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions