-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
type: documentationA documentation updateA documentation update
Milestone
Description
I have deployed my spring boot application on PCF; all the actuator endpoints have been exposed. The actuator endpoints are configured as:
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
management.server.port=${CF_INSTANCE_PORT}
On hitting the /actuator/**
or /actuator
, the requests are redirected to /
endpoint. This was verified by creating an endpoint in the controller. While the application worked perfectly on local environment, it failed on PCF (have not tried this in other env). If we add any actuator endpoint in a controller, it works smoothly. For example, I added /actuator/health
is added in a controller and all the request for health endpoint were redirected to this endpoint within my controller.
The spring boot version is 2.0.5
and the spring cloud dependencies are managed under Finchley.SR1
.
Here's the code link.
Metadata
Metadata
Assignees
Labels
type: documentationA documentation updateA documentation update