Spring Cloud Config Server: Difference between revisions
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
* [[Spring_Property_Injection_Concepts#Configuration_Service_.28Spring_Cloud_Config_Server.29|Spring Property Injection Concepts]] | * [[Spring_Property_Injection_Concepts#Configuration_Service_.28Spring_Cloud_Config_Server.29|Spring Property Injection Concepts]] | ||
* [[bootstrap.yml]] | |||
=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. |
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.