org.springframework.cloud.loadbalancer.config.LoadBalancerAutoConfiguration Java Examples
The following examples show how to use
org.springframework.cloud.loadbalancer.config.LoadBalancerAutoConfiguration.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FeignLoadBalancerAutoConfigurationTests.java From spring-cloud-openfeign with Apache License 2.0 | 5 votes |
private ConfigurableApplicationContext initContext(String... properties) { return new SpringApplicationBuilder().web(WebApplicationType.NONE) .properties(properties) .sources(HttpClientConfiguration.class, LoadBalancerAutoConfiguration.class, BlockingLoadBalancerClientAutoConfiguration.class, FeignLoadBalancerAutoConfiguration.class) .run(); }