Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Support spring-boot 2 health check endpoints #1206

Closed
nicolaferraro opened this issue Feb 20, 2018 · 0 comments
Closed

Support spring-boot 2 health check endpoints #1206

nicolaferraro opened this issue Feb 20, 2018 · 0 comments

Comments

@nicolaferraro
Copy link
Member

Spring-boot 2 actuator endpoints are different from spring-boot 1. Health is no more provided at "/health" endpoint.

We have encoded the "/health" endpoint in

withNewHttpGet().withNewPort(port).withPath(prefix + "/health").withScheme(scheme).endHttpGet().
.

We need to detect the major version of spring-boot and use the correct path.

If the health endpoint (or path) can be configured using application.properties in spring-boot 2, we need to read that configuration and change the probes accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant