package io.pivotal.portfolio.config;

import org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerExchangeFilterFunction;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository;
import org.springframework.security.oauth2.client.web.OAuth2AuthorizedClientRepository;
import org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction;
import org.springframework.web.reactive.function.client.WebClient;

@Configuration
public class BeanConfiguration {


    @Bean
    public WebClient webClient(LoadBalancerExchangeFilterFunction eff) {
        return WebClient.builder()
                .filter(eff)
                .build();
    }

}

@@ -714,16 +714,52 @@
 bClient(
+WebClient.Builder webClientBuilder, 
 LoadBala
@@ -807,25 +807,26 @@
  return 
-W
+ w
 ebClient
 .builder
@@ -821,18 +821,15 @@
 ient
-.b
+B
 uilder
-()
 %0A   

Fix definition of web client builder