From 8fc18412f4568a783c0eaec49b8fbb81fa2eb74e Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 18 Aug 2016 11:15:38 +0000 Subject: [PATCH] Sync docs from 1.0.x to gh-pages --- 1.0.x/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/1.0.x/index.html b/1.0.x/index.html index f75472ab..312df286 100644 --- a/1.0.x/index.html +++ b/1.0.x/index.html @@ -571,11 +571,11 @@ If you use Spring Cloud Consul Config, cloud: consul: discovery: - instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}} + instanceId: ${spring.application.name}:${vcap.application.instance_id:${spring.application.instance_id:${random.value}}}
-

With this metadata, and multiple service instances deployed on localhost, the random value will kick in there to make the instance unique. In Cloudfoundry the spring.application.instance_id will be populated automatically in a Spring Boot Actuator application, so the random value will not be needed.

+

With this metadata, and multiple service instances deployed on localhost, the random value will kick in there to make the instance unique. In Cloudfoundry the vcap.application.instance_id will be populated automatically in a Spring Boot application, so the random value will not be needed.

@@ -853,7 +853,7 @@ public class Turbine {