2

I am using Spring Cloud Config server [git repo] with basic authentication and config client

Spring Boot: 2.0.0.RELEASE Spring Cloud: Finchley.M8

In spring could client when refresh method is posted (http://localhost:8080/refresh) got below error message

    {
        "timestamp": "2018-03-04T13:40:36.256+0000",
        "status": 404,
        "error": "Not Found",
        "message": "No message available",
        "path": "/refresh"
    }

1 Answers1

0

add the below in application.properties

management.endpoints.web.exposure.include=refresh

and hit the new endpoint of the actuator.

/actuator/refresh
Eternal_Explorer
  • 1,119
  • 3
  • 14
  • 26