Spring Cloud Config Server: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 17: Line 17:
=Organizatorium=
=Organizatorium=


* To turn off the client: spring.cloud.config.enabled=false in bootstrap.yaml or in the environment.
* 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.