RFR: bot: add version handler
Erik Joelsson
erikj at openjdk.java.net
Fri May 28 18:16:22 UTC 2021
On Mon, 24 May 2021 14:08:45 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
>
> please review this patch that adds a version handler, typically listening on the path `/version`. This simple handler just returns the version of the running bots, useful for scripting or dashboards. Typical configuration:
>
>
> {
> "http-server": {
> "/version": {
> "type": "version"
> }
> }
> }
>
>
> Example of usage:
>
>
> $ curl http://localhost:8080/version
> bd09ee70259733dc2e18577da6a36462c900dba3
>
>
> Testing:
> - [x] Tested locally on Linux x64
>
> Thanks,
> Erik
Marked as reviewed by erikj (Lead).
-------------
PR: https://git.openjdk.java.net/skara/pull/1165
More information about the skara-dev
mailing list