From 7d9fe6357eb8dbc9850e905a972db2260eadd983 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Tue, 4 Feb 2020 17:28:48 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 16 ++++++++++++++++ reference/html/spring-cloud-commons.html | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/reference/html/index.html b/reference/html/index.html index ce595f9c..5ecf0b04 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -117,6 +117,7 @@ $(addBlockSwitches);
  • 2.2. ServiceRegistry @@ -673,6 +674,21 @@ implementations provided by Spring Cloud, among others ConsulDiscoveryCli spring.cloud.{clientIdentifier}.discovery.order (or eureka.client.order for Eureka) property to the desired value.

    +
    +

    2.1.3. SimpleDiscoveryClient

    +
    +

    If there is no Service-Registry-backed DiscoveryClient in the classpath, SimpleDiscoveryClient +instance, that uses properties to get information on service and instances, will be used.

    +
    +
    +

    The information about the available instances should be passed to via properties in the following format: +spring.cloud.discovery.client.simple.instances.service1[0].uri=http://s11:8080, where +spring.cloud.discovery.client.simple.instances is the common prefix, then service1 stands +for the ID of the service in question, while [0] indicates the index number of the instance +(as visible in the example, indexes start with 0), and then the value of uri is +the actual URI under which the instance is available.

    +
    +

    2.2. ServiceRegistry

    diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index ce595f9c..5ecf0b04 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -117,6 +117,7 @@ $(addBlockSwitches);
  • 2.2. ServiceRegistry @@ -673,6 +674,21 @@ implementations provided by Spring Cloud, among others ConsulDiscoveryCli spring.cloud.{clientIdentifier}.discovery.order (or eureka.client.order for Eureka) property to the desired value.

    +
    +

    2.1.3. SimpleDiscoveryClient

    +
    +

    If there is no Service-Registry-backed DiscoveryClient in the classpath, SimpleDiscoveryClient +instance, that uses properties to get information on service and instances, will be used.

    +
    +
    +

    The information about the available instances should be passed to via properties in the following format: +spring.cloud.discovery.client.simple.instances.service1[0].uri=http://s11:8080, where +spring.cloud.discovery.client.simple.instances is the common prefix, then service1 stands +for the ID of the service in question, while [0] indicates the index number of the instance +(as visible in the example, indexes start with 0), and then the value of uri is +the actual URI under which the instance is available.

    +
    +