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.
[x] Deploy this change to stage to ensure the terraform applies the change as expected and tasks register as healthy
[ ] Perform a stage deployment while sending requests to understand if we have eliminated any deployment errors.
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.
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.