RFR: bot: add version handler

Erik Helin ehelin at openjdk.java.net
Mon May 24 14:12:08 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

- [x] Tested locally on Linux x64



Depends on: https://git.openjdk.java.net/skara/pull/1164

Commit messages:
 - bot: add version handler

Changes: https://git.openjdk.java.net/skara/pull/1165/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=1165&range=00
  Stats: 62 lines in 4 files changed: 61 ins; 0 del; 1 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