Skip to content

Cloud Components: migrate @elixir-cloud/tes to the v2 provider architecture #443

Closed

Description

@uniqueg

Why?

All other client packages are on 2.0.0-alpha.x and use a providers/ pattern: an interface plus a REST implementation, overridable via a provider property, with typed events/. The TES package (packages/ecc-client-ga4gh-tes) is still 1.0.1 and uses ad hoc src/API/Task/tesGet.ts helpers with a baseURL property. This inconsistency makes auth support (#442) and portal integration (elixir-cloud-aai/krini#41) harder, and it weakens the "portfolio" story for D4.2.

Priority: low, because nothing required depends on it. Do it only if it makes #442 simpler.

How?

  1. Mirror the WES package layout:
    • providers/tes-provider.ts (interface: getServiceInfo, listTasks, getTask, createTask, cancelTask)
    • providers/rest-tes-provider.ts
    • events/
  2. Port runs and create-run to the provider. Keep the element names stable, or document the breaking change.
  3. Align property naming with WES (baseUrl vs current baseURL).
  4. Bump to the 2.0.0-alpha line and update the docs app.

Acceptance criteria

  • The TES components accept either baseUrl or a custom provider.
  • Existing tests pass or are ported. The docs app demo works against a public TES.

Dependencies: none. Coordinate with #442: either order works, but don't do auth twice.


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:

  • Assign yourself (if someone is already assigned, ask them first or pick another one)
  • Move the issue to "In progress" on the project board
  • Start working 🚀

Activity

  1. added
    priority: low
    type: maintenance
    workload: days
    ecp-wp4: D4.2
    on Oct 14, 2026
  2. moved this from Backlog to Ready in ELIXIR On-Cloudon Oct 14, 2026
  3. moved this from Ready to In progress in ELIXIR On-Cloudon Oct 21, 2026
  4. added
    flag: nice to have
    status: in progress
    on Nov 8, 2026
  5. moved this from In progress to In review in ELIXIR On-Cloudon Nov 13, 2026
  6. moved this from In review to Done in ELIXIR On-Cloudon Nov 13, 2026
  7. removed
    status: in progress
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: D4.2flag: nice to havepriority: lowtype: maintenanceworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions