daml/ledger-service
Moritz Kiefer a74a1c15f4
Add healthcheck endpoints to JSON API (#7852)
* Add healthcheck endpoints to JSON API

This PR adds /livez and /readyz (following k8s naming scheme) that can
be used as liveness and readyness check. There isn’t much we can do
for liveness apart from showing that we can still respond to http
requests but readyness can be a bit more clever and check the ledger
connection as well as the database connection.

changelog_begin

- [JSON API] Add `/livez` and `/readyz` health check endpoints for
  easier integration with k8s and other schedulers.

changelog_end

* I hate windows

changelog_begin
changelog_end
2020-11-02 18:41:49 +01:00
..
cli-opts Move common jwt cli flags (#7811) 2020-10-26 17:53:37 +00:00
db-backend upgrade doobie from 0.6.0 to 0.9.2 (#7618) 2020-10-16 09:46:20 -04:00
http-json Add healthcheck endpoints to JSON API (#7852) 2020-11-02 18:41:49 +01:00
http-json-perf Add tests for connection failures in the JSON API (#7751) 2020-10-20 18:59:11 +02:00
http-json-testing Add healthcheck endpoints to JSON API (#7852) 2020-11-02 18:41:49 +01:00
jwt add more scalac 2.12 warnings (#6798) 2020-07-21 08:18:01 -04:00
lf-value-json LF: Kill ValueStruct (#7457) 2020-09-22 13:37:59 +02:00
utils replace traverseU and sequenceU with traverse and sequence (#6594) 2020-07-07 15:01:58 +00:00