Spring Cloud Config Client Without Spring Boot
Refrenced: https://wenku.baidu.com/view/493cf9eba300a6c30d229f49.html Root WebApplicationContext and the Servlet WebApplicationContext uses Environment and initializes PropertySources based on the spring profile. For non-spring boot apps, we need to customize these to get the properties from Config Server and to refresh the beans whenever there is a property change. Below are the changes that needs to happen to get … Read more