Spring Cloud Config Server: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Spring Property Injection Concepts")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* https://spring.io/guides/gs/centralized-configuration/
* https://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
=Internal=
=Internal=


* [[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

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.