Integrated: bot: add readiness handler
Erik Helin
ehelin at openjdk.java.net
Wed May 12 19:23:06 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.
>
> Thanks,
> Erik
This pull request has now been integrated.
Changeset: 8cbcc1ab
Author: Erik Helin <ehelin at openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/8cbcc1abbba2849381a2790289ac1583268587b4
Stats: 67 lines in 3 files changed: 66 ins; 0 del; 1 mod
bot: add readiness handler
Reviewed-by: erikj
-------------
PR: https://git.openjdk.java.net/skara/pull/1154
More information about the skara-dev
mailing list