Skip to content

Implement endpoint "GET /tasks/{id}:delete" #22

Closed

Description

@uniqueg

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:

Describe alternatives you've considered
N/A

Additional context
Depends on issue #19 being resolved.

Activity

  1. changed the title [-]Implement endpoint "/tasks/{id}:delete"[/-] [+]Implement endpoint "GET /tasks/{id}:delete"[/+] on Sep 2, 2019
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions