endava-pad-backend-microservices / gateway

Netflix zuul proxy, acting as API Gateway
0 stars 0 forks source link

Add /refresh endpoint in Zuul PreFilter #4

Open ayancovich opened 5 years ago

ayancovich commented 5 years ago

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.

nestorreloaded commented 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