You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(wes/routing): route runs by workflow type #86
Gateways for the WES API need a routing plugin that sends a run only to backends that support its workflow type and version. proWES is the first such gateway (elixir-cloud-aai/prowes#121). Support is read from each backend's GET /service-info: workflow_type_versions, and, for runs that request an engine, workflow_engine_versions (WES 1.1.0).
What to do
Phase route: keep the candidates whose service info supports the run's workflow_type and workflow_type_version, and also workflow_engine/workflow_engine_version if the run sets them. Keep the candidates' order.
Cache the service info per backend, with a TTL. Configuration decides whether a backend whose service info can't be read is kept or dropped.
Group wes, subgroup routing, with a name such as workflow-type. Tests and README as for the other plugins.
Done when
The plugin filters candidates as described, with tests for each case, including a backend whose service info is unreadable.
Activity