RFR: bot: add readiness handler
erikj at openjdk.java.net
Wed May 12 18:39:59 UTC 2021
On Wed, 12 May 2021 18:33:22 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
> please review this patch that adds a "readiness" handler to the bot runner's HTTP server. A readiness handler can be used to automate deployments and are usually queried to see when a service is ready to do work. Typically listening on paths such a `/ready` the readiness can help automatic deployment software differentiate between the two states "started" and "ready to work". The "readiness" handler will return `200` when the bot runner is ready to work and `404` when it isn't.
Marked as reviewed by erikj (Reviewer).
More information about the skara-dev