Fix bean naming and logs.
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
This commit is contained in:
@@ -76,7 +76,7 @@ public class LoadBalancerRestClientHttpServiceGroupConfigurer implements RestCli
|
||||
DeferringLoadBalancerInterceptor loadBalancerInterceptor = loadBalancerInterceptorSupplier.get();
|
||||
if (loadBalancerInterceptor == null) {
|
||||
throw new IllegalStateException(
|
||||
DeferringLoadBalancerInterceptor.class.getSimpleName() + " instance not available.");
|
||||
DeferringLoadBalancerInterceptor.class.getSimpleName() + " bean not available.");
|
||||
}
|
||||
groups.configureClient((group, builder) -> {
|
||||
String groupName = group.name();
|
||||
|
||||
@@ -72,7 +72,7 @@ public class LoadBalancerBeanPostProcessorAutoConfiguration {
|
||||
@Bean
|
||||
@ConditionalOnBean({ HttpClientServiceProperties.class, ReactiveLoadBalancer.Factory.class })
|
||||
@ConditionalOnMissingBean(LoadBalancerWebClientHttpServiceGroupConfigurer.class)
|
||||
LoadBalancerWebClientHttpServiceGroupConfigurer loadBalancerRestClientHttpServiceGroupConfigurer(
|
||||
LoadBalancerWebClientHttpServiceGroupConfigurer loadBalancerWebClientHttpServiceGroupConfigurer(
|
||||
ObjectProvider<DeferringLoadBalancerExchangeFilterFunction<LoadBalancedExchangeFilterFunction>> deferringExchangeFilterFunction,
|
||||
HttpClientServiceProperties properties,
|
||||
ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory) {
|
||||
|
||||
@@ -72,7 +72,7 @@ public class LoadBalancerWebClientHttpServiceGroupConfigurer implements WebClien
|
||||
.get();
|
||||
if (loadBalancerFilterFunction == null) {
|
||||
throw new IllegalStateException(
|
||||
DeferringLoadBalancerExchangeFilterFunction.class.getSimpleName() + " instance not available.");
|
||||
DeferringLoadBalancerExchangeFilterFunction.class.getSimpleName() + " bean not available.");
|
||||
}
|
||||
groups.configureClient((group, builder) -> {
|
||||
String groupName = group.name();
|
||||
|
||||
Reference in New Issue
Block a user