How to add endpoints in dropwizard like /healthcheck

3/2/2020

we can add healthcheck like

environment.healthChecks().register(
   CheckpointConstant.CACHE,
   new CacheHealthCheck(adminConfiguration.getAppName())
);

but these are all in the '/healthcheck' interface.

how to add endpoints in port 8081, like '/healthcheck';e.g. '/liveness'.

-- lethean
dropwizard
kubernetes-health-check

0 Answers