Open ayancovich opened 5 years ago
Maybe we could implement an endpoint on this microservice instead of modifying the preFilter, I think it's better because we are not messing with the routing logic, and this will be an endpoint on this microservice
Add the /refresh endpoint from @RefreshScope (e.g. Spring) to the Zuul PreFilter in gateway, inside a forEach of microservices registered in eureka. Keep in mind the /refresh is executed to re-obtain from the config server, all the properties with @Value annotations.