Spring Cloud Config Server: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
The Cloud Config Server is accessed by a Spring Boot application with a Config Client. | The Cloud Config Server is accessed by a Spring Boot application with a Config Client. | ||
The properties to configure the Config Client must be read before the rest of the application configuration is read from the Config Server, during the bootstrap phase. The bootstrap phase is configured by [[bootstrap. | The properties to configure the Config Client must be read before the rest of the application configuration is read from the Config Server, during the bootstrap phase. The bootstrap phase is configured by [[bootstrap.yml]]. bootstrap.yml is loaded earlier than any configuration. | ||
=Organizatorium= | |||
* To turn off the client: spring.cloud.config.enabled=false in bootstrap.yaml. Tested and it works. |
Latest revision as of 23:38, 27 April 2019
External
- https://spring.io/guides/gs/centralized-configuration/
- https://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
Internal
Overview
The Cloud Config Server is accessed by a Spring Boot application with a Config Client.
The properties to configure the Config Client must be read before the rest of the application configuration is read from the Config Server, during the bootstrap phase. The bootstrap phase is configured by bootstrap.yml. bootstrap.yml is loaded earlier than any configuration.
Organizatorium
- To turn off the client: spring.cloud.config.enabled=false in bootstrap.yaml. Tested and it works.