From 032344da5afc594a889f3ba1185b9ea7d3106ddf Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Thu, 11 Aug 2022 16:26:39 +0200 Subject: [PATCH] Update configprops and javadocs. --- docs/src/main/asciidoc/_configprops.adoc | 6 ++++++ .../cloud/context/named/NamedContextFactory.java | 1 + .../cloud/context/named/NamedContextFactoryTests.java | 1 + 3 files changed, 8 insertions(+) diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 1beb1d7d..51e2a007 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -12,6 +12,12 @@ |spring.cloud.discovery.client.health-indicator.include-description | `+++false+++` | |spring.cloud.discovery.client.health-indicator.use-services-query | `+++true+++` | Whether or not the indicator should use {@link DiscoveryClient#getServices} to check its health. When set to {@code false} the indicator instead uses the lighter {@link DiscoveryClient#probe()}. This can be helpful in large deployments where the number of services returned makes the operation unnecessarily heavy. |spring.cloud.discovery.client.simple.instances | | +|spring.cloud.discovery.client.simple.local.host | | +|spring.cloud.discovery.client.simple.local.instance-id | | +|spring.cloud.discovery.client.simple.local.metadata | | +|spring.cloud.discovery.client.simple.local.port | `+++0+++` | +|spring.cloud.discovery.client.simple.local.service-id | | +|spring.cloud.discovery.client.simple.local.uri | | |spring.cloud.discovery.client.simple.order | | |spring.cloud.discovery.enabled | `+++true+++` | Enables discovery client health indicators. |spring.cloud.features.enabled | `+++true+++` | Enables the features endpoint. diff --git a/spring-cloud-context/src/main/java/org/springframework/cloud/context/named/NamedContextFactory.java b/spring-cloud-context/src/main/java/org/springframework/cloud/context/named/NamedContextFactory.java index 8f58aa8b..64289abb 100644 --- a/spring-cloud-context/src/main/java/org/springframework/cloud/context/named/NamedContextFactory.java +++ b/spring-cloud-context/src/main/java/org/springframework/cloud/context/named/NamedContextFactory.java @@ -52,6 +52,7 @@ import org.springframework.util.Assert; * @author Spencer Gibb * @author Dave Syer * @author Tommy Karlsson + * @author Olga Maciaszek-Sharma */ public abstract class NamedContextFactory implements DisposableBean, ApplicationContextAware { diff --git a/spring-cloud-context/src/test/java/org/springframework/cloud/context/named/NamedContextFactoryTests.java b/spring-cloud-context/src/test/java/org/springframework/cloud/context/named/NamedContextFactoryTests.java index c7078da2..f9accd98 100644 --- a/spring-cloud-context/src/test/java/org/springframework/cloud/context/named/NamedContextFactoryTests.java +++ b/spring-cloud-context/src/test/java/org/springframework/cloud/context/named/NamedContextFactoryTests.java @@ -38,6 +38,7 @@ import static org.assertj.core.api.BDDAssertions.then; /** * @author Spencer Gibb * @author Tommy Karlsson + * @author Olga Maciaszek-Sharma */ public class NamedContextFactoryTests {