Remove deprecated comment. Move property configuration metadata to

loadbalancer module.
This commit is contained in:
Olga Maciaszek-Sharma
2019-09-12 20:44:09 +02:00
parent 6f83156c73
commit 8bbd4384cc
3 changed files with 10 additions and 8 deletions

View File

@@ -47,12 +47,6 @@
"name": "management.endpoint.env.post.enabled",
"description": "Enables writable environment endpoint.",
"type": "java.lang.Boolean"
},
{
"defaultValue": true,
"name": "spring.cloud.loadbalancer.ribbon.enabled",
"description": "Causes `RibbonLoadBalancerClient` to be used by default.",
"type": "java.lang.Boolean"
}
]
}

View File

@@ -37,8 +37,6 @@ import org.springframework.context.annotation.Configuration;
@LoadBalancerClients
@AutoConfigureBefore({ ReactorLoadBalancerClientAutoConfiguration.class,
ReactiveLoadBalancerAutoConfiguration.class })
// @EnableCaching //TODO: how to enforce, or check conditions?
// @AutoConfigureBefore(CacheAutoConfiguration.class)
public class LoadBalancerAutoConfiguration {
private final ObjectProvider<List<LoadBalancerClientSpecification>> configurations;

View File

@@ -0,0 +1,10 @@
{
"properties": [
{
"defaultValue": true,
"name": "spring.cloud.loadbalancer.ribbon.enabled",
"description": "Causes `RibbonLoadBalancerClient` to be used by default.",
"type": "java.lang.Boolean"
}
]
}