wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
3 stars 0 forks source link

Adds a simple healthcheck endpoint for the requests service #747

Closed kenoir closed 6 months ago

kenoir commented 6 months ago

What does this change?

This change follows https://github.com/wellcomecollection/catalogue-api/pull/739, and adds an HTTP healthcheck to the requests API to ensure the Scala service has started before it is registered healthy at the NLB and starts serving requests.

A further change will need to be made in the wellcomecollection/identity respository to have the identity infrastructure pay attention to the new endpoint.

The required change will be similar to the one in this repository to add a HTTP healthcheck.

See https://github.com/wellcomecollection/identity/pull/398

How to test?

How can we measure success?

No downtime during deployments resulting in a better experience for visitors to the site, and fewer errors that we cannot effectively respond to in the alerts channel.