elixir-cloud-aai / proTES

Proxy service for injecting middleware into GA4GH TES requests
Apache License 2.0
5 stars 6 forks source link

fix: return internal task ID & refactor db model #128

Closed Ayush5120 closed 1 year ago

Ayush5120 commented 1 year ago
  1. Fixed #122
  2. Now the proTES task id is returned instead of the remote task id ( Actual TES id where the task is executed).
  3. Modified task_incoming logs in such a way that logs (that is, outputs and TES Executor logs) are updated from Actual TES, and the rest of the things (start_time, end_time, etc) are updated from the proTES.
  4. Currently the information about the TES URI (where the task is submitted) and remote task id is stored in task incoming logs ( inside metadata), it is not the best way but it was essential to do this now because the endpoint POST /tasks/{id}:cancel relies on remote task id, this could be further fixed in #123