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
Is your feature request related to a problem? Please describe. proTES should respond to all TES requests in the most reasonable or helpful way in a spec-conformant way.
In the case of the GET /tasks/{id}:cancel endpoint, this means that the cancellation request should be forwarded to the TES instance that the task was sent to.
Describe the solution you'd like
The task with the specified ID should be cancelled by relaying the request to the TES instance to which the task was sent, if available, which should be extracted from the database. If the task is not known, a 404 response should be returned. If the TES supposed to run the task is not available, a 500 response should be returned. The solution is almost identical to that for the POST /runs/{run_id}/cancel endpoint in WES-ELIXIR, implemented in files:
Activity
[-]Implement endpoint "/tasks/{id}:delete"[/-][+]Implement endpoint "GET /tasks/{id}:delete"[/+]