elixir-cloud-aai / proTES

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

Implement endpoint "GET /tasks/service-info" #21

Closed uniqueg closed 5 years ago

uniqueg commented 5 years ago

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/service-info endpoint, this simply means to return the service info from the database.

Describe the solution you'd like Add service info parameters to the config file and load them to the database upon starting the service (refresh upon restart). Upon receiving the request, return the service info from the database. The solution is almost identical to that for the /service-info endpoint in WES-ELIXIR, implemented in files:

Describe alternatives you've considered N/A

Additional context Depends on issue #17 being resolved.