diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 51e2a007..cc3dc97e 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -16,6 +16,7 @@ |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.secure | `+++false+++` | |spring.cloud.discovery.client.simple.local.service-id | | |spring.cloud.discovery.client.simple.local.uri | | |spring.cloud.discovery.client.simple.order | | @@ -56,7 +57,7 @@ |spring.cloud.loadbalancer.retry.backoff.min-backoff | `+++5 ms+++` | Used to set `RetryBackoffSpec#minBackoff`. |spring.cloud.loadbalancer.retry.enabled | `+++true+++` | Enables LoadBalancer retries. |spring.cloud.loadbalancer.retry.max-retries-on-next-service-instance | `+++1+++` | Number of retries to be executed on the next `ServiceInstance`. A `ServiceInstance` is chosen before each retry call. -|spring.cloud.loadbalancer.retry.max-retries-on-same-service-instance | `+++0+++` | umber of retries to be executed on the same `ServiceInstance`. +|spring.cloud.loadbalancer.retry.max-retries-on-same-service-instance | `+++0+++` | Number of retries to be executed on the same `ServiceInstance`. |spring.cloud.loadbalancer.retry.retry-on-all-exceptions | `+++false+++` | Indicates retries should be attempted for all exceptions, not only those specified in `retryableExceptions`. |spring.cloud.loadbalancer.retry.retry-on-all-operations | `+++false+++` | Indicates retries should be attempted on operations other than `HttpMethod.GET`}. |spring.cloud.loadbalancer.retry.retryable-exceptions | `+++{}+++` | A `Set` of `Throwable` classes that should trigger a retry. diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java index 81b2cca6..9caefc53 100644 --- a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java +++ b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java @@ -143,7 +143,7 @@ public class DefaultServiceInstance implements ServiceInstance { public void setPort(int port) { this.port = port; } - + public void setSecure(boolean secure) { this.secure = secure; } diff --git a/spring-cloud-commons/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-commons/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 423333ce..5d31f51f 100644 --- a/spring-cloud-commons/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-commons/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -126,7 +126,7 @@ { "name": "spring.cloud.loadbalancer.retry.max-retries-on-same-service-instance", "defaultValue": 0, - "description": "umber of retries to be executed on the same `ServiceInstance`.", + "description": "Number of retries to be executed on the same `ServiceInstance`.", "type": "java.lang.Integer" }, {