restful-pdp icon indicating copy to clipboard operation
restful-pdp copied to clipboard

Reload PDP Configuration after change (without JVM restart)

Open cdanger opened this issue 6 years ago • 1 comments

http://www.tothenew.com/blog/loading-and-removing-bean-at-run-time-in-spring-application/

cdanger avatar Aug 19 '18 13:08 cdanger

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

cdanger avatar Dec 30 '18 18:12 cdanger