RFR: bot: add version handler [v2]
Erik Helin
ehelin at openjdk.java.net
Fri May 28 18:20:49 UTC 2021
> 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
Erik Helin has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.
-------------
Changes:
- all: https://git.openjdk.java.net/skara/pull/1165/files
- new: https://git.openjdk.java.net/skara/pull/1165/files/ead619b2..ead619b2
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=skara&pr=1165&range=01
- incr: https://webrevs.openjdk.java.net/?repo=skara&pr=1165&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/skara/pull/1165.diff
Fetch: git fetch https://git.openjdk.java.net/skara pull/1165/head:pull/1165
PR: https://git.openjdk.java.net/skara/pull/1165
More information about the skara-dev
mailing list