Merge pull request #1810 from spring-cloud/add-spring-boot-config-info-to-quickstart

Add Spring Boot config data import to quiskstart.
This commit is contained in:
Olga Maciaszek-Sharma
2021-03-03 11:34:57 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -223,6 +223,8 @@ A property source called `configserver:<URL of remote repository>/<file name>` c
NOTE: The URL in the property source name is the git repository, not the config server URL.
WARNING: If you use Spring Cloud Config Client, you need to set the `spring.config.import` property in order to bind to Config Server. You can read more about it https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#config-data-import[in the Spring Cloud Config Reference Guide].
=== Sample Application
You can find a sample application https://github.com/spring-cloud/spring-cloud-config/tree/master/spring-cloud-config-sample[here].

View File

@@ -178,3 +178,5 @@ $ curl localhost:8080/env
A property source called `configserver:<URL of remote repository>/<file name>` contains the `foo` property with a value of `bar`.
NOTE: The URL in the property source name is the git repository, not the config server URL.
WARNING: If you use Spring Cloud Config Client, you need to set the `spring.config.import` property in order to bind to Config Server. You can read more about it https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#config-data-import[in the Spring Cloud Config Reference Guide].