I am following the approach described here: https://github.com/jeroenbellen/blog-manage-and-reload-spring-properties, the only difference is that in my case, the properties
Anyone else facing this issue, please make sure the followings:
@RefreshScope
Spring boot actuator is added into your dependency, as it is the module which actually provides these endpoints:
org.springframework.boot spring-boot-starter-actuator
Refresh endpoint has been updated to:
http://{ip_address}:{port}/actuator/refresh
Refresh endpoint isn't enabled by default. You have to enable it explicitly in the bootstrap.properties file by adding the following line:
management.endpoints.web.exposure.include=*
I have enabled all the endpoints, while you can just enable the specific endpoints as well.