restful-pdp
restful-pdp copied to clipboard
Reload PDP Configuration after change (without JVM restart)
http://www.tothenew.com/blog/loading-and-removing-bean-at-run-time-in-spring-application/
Better long-term solution:
- For single instance: use Spring Boot Actuator's /restart endpoint - https://cloud.spring.io/spring-cloud-static/Finchley.SR2/single/spring-cloud.html#_endpoints
- For multiple instances sharing same config (e.g. cluster): use Spring Cloud Config server (embedded or not) and Spring Cloud Bus - http://www.enriquerecarte.com/2017-08-04/spring-cloud-config-series-git-backend