RFR: bot: add version handler [v3]

Erik Helin ehelin at openjdk.java.net
Fri May 28 18:32:21 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 pull request now contains one commit:

  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=02
  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