Remove deprecated comment. Move property configuration metadata to
loadbalancer module.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user