Closed LucaCinquini closed 1 year ago
Question: should querying with labels be implemented as an extension to the WPS-T API, or should we simply (or at first) expose the Jobs database Elasticsearch endpoint?
It was decided during the 23.3 PI to use Elasticsearch to query the Jobs Database. The Elasticsearch API needs to be exposed and added as a parameter in SSM. Ryan/Drew please work on implementing these last 2 items.
We decided that the Elasticsearch URL of the Jobs Database needs to be exposed both as an SSM parameter, and as an env variable available in the Verdi worker Docker container.
For each deployment, the jobs database URL can be retrieved from SSM using this key: /unity/sps/{deployment_name}/jobsDb/url Closing the ticket.
Allow clients to query the Jobs Database by arbitrary labels. Support offset and limit as query parameters for pagination. Must first establish consensus within Unity about how the query parameters should be supplied in the request.