From d8e7d02e485bd883a25346fc17242aa623a9c25a Mon Sep 17 00:00:00 2001 From: Olga MaciaszekSharma Date: Fri, 26 Feb 2021 18:03:40 +0100 Subject: [PATCH 1/2] Add Spring Boot config data import to quiskstart. --- docs/src/main/asciidoc/quickstart.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/quickstart.adoc b/docs/src/main/asciidoc/quickstart.adoc index ca52947a..fc968d9e 100644 --- a/docs/src/main/asciidoc/quickstart.adoc +++ b/docs/src/main/asciidoc/quickstart.adoc @@ -160,3 +160,5 @@ $ curl localhost:8080/env A property source called `configserver:/` 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 will 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[here]. From 442c4e5d3993a1a4391883131dcddd32bfd3162a Mon Sep 17 00:00:00 2001 From: Olga MaciaszekSharma Date: Fri, 26 Feb 2021 18:32:04 +0100 Subject: [PATCH 2/2] Fix after review. --- README.adoc | 2 ++ docs/src/main/asciidoc/quickstart.adoc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 561a0c13..a56de9f8 100644 --- a/README.adoc +++ b/README.adoc @@ -205,6 +205,8 @@ A property source called `configserver:/` 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]. diff --git a/docs/src/main/asciidoc/quickstart.adoc b/docs/src/main/asciidoc/quickstart.adoc index fc968d9e..6efe4b85 100644 --- a/docs/src/main/asciidoc/quickstart.adoc +++ b/docs/src/main/asciidoc/quickstart.adoc @@ -161,4 +161,4 @@ A property source called `configserver:/` 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 will 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[here]. +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].