diff --git a/README.adoc b/README.adoc index 65df9617..d3fdadf9 100644 --- a/README.adoc +++ b/README.adoc @@ -163,6 +163,14 @@ To modify the startup behavior, you can change the location of the config server spring.cloud.config.uri: http://myconfigserver.com ---- +By default, if no application name is set, `application` will be used. To modify the name, the following property can be added to the `bootstrap.properties` file: + +---- +spring.application.name: myapp +---- + +NOTE: When setting the property `${spring.application.name}` do not prefix your app name with the reserved word `application-` to prevent issues resolving the correct property source. + The bootstrap properties show up in the `/env` endpoint as a high-priority property source, as shown in the following example. ---- diff --git a/docs/pom.xml b/docs/pom.xml index c5c7a55f..64635eba 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -6,7 +6,7 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 .. diff --git a/pom.xml b/pom.xml index b06fe3e0..7caecff5 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 pom Spring Cloud Config Spring Cloud Config @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-build - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M2 @@ -22,7 +22,7 @@ config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 spring-cloud-config-dependencies diff --git a/spring-cloud-config-client/pom.xml b/spring-cloud-config-client/pom.xml index adeff2e2..616723cb 100644 --- a/spring-cloud-config-client/pom.xml +++ b/spring-cloud-config-client/pom.xml @@ -10,7 +10,7 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 .. diff --git a/spring-cloud-config-dependencies/pom.xml b/spring-cloud-config-dependencies/pom.xml index b19d03ed..5df8d1ad 100644 --- a/spring-cloud-config-dependencies/pom.xml +++ b/spring-cloud-config-dependencies/pom.xml @@ -5,11 +5,11 @@ spring-cloud-dependencies-parent org.springframework.cloud - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M2 spring-cloud-config-dependencies - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 pom spring-cloud-config-dependencies Spring Cloud Config Dependencies diff --git a/spring-cloud-config-monitor/pom.xml b/spring-cloud-config-monitor/pom.xml index d7cb670d..0a9954d9 100644 --- a/spring-cloud-config-monitor/pom.xml +++ b/spring-cloud-config-monitor/pom.xml @@ -5,7 +5,7 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 .. spring-cloud-config-monitor @@ -13,7 +13,7 @@ Spring Cloud Config Monitor ${basedir}/../.. - 2.0.1.BUILD-SNAPSHOT + 2.1.0.M1 diff --git a/spring-cloud-config-sample/pom.xml b/spring-cloud-config-sample/pom.xml index 7f5b78ab..a06b8bd2 100644 --- a/spring-cloud-config-sample/pom.xml +++ b/spring-cloud-config-sample/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 .. diff --git a/spring-cloud-config-server/pom.xml b/spring-cloud-config-server/pom.xml index 1d4fc454..60a2d8dc 100644 --- a/spring-cloud-config-server/pom.xml +++ b/spring-cloud-config-server/pom.xml @@ -12,7 +12,7 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 .. @@ -98,7 +98,7 @@ UTF-8 - ${project.version} + Greenwich.M1 org.springframework.cloud.config.server.ConfigServerApplication diff --git a/spring-cloud-starter-config/pom.xml b/spring-cloud-starter-config/pom.xml index b70f2a41..26352963 100644 --- a/spring-cloud-starter-config/pom.xml +++ b/spring-cloud-starter-config/pom.xml @@ -5,10 +5,10 @@ org.springframework.cloud spring-cloud-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 spring-cloud-starter-config - 2.1.0.BUILD-SNAPSHOT + 2.1.0.M1 spring-cloud-starter-config Spring Cloud Starter https://projects.spring.io/spring-cloud