Skip to content
Snippets Groups Projects

Security

Merged Jitka Viceníková requested to merge security into develop
11 files
+ 94
66
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -4,7 +4,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.reactive.function.client.WebClient;
/**
* @author Michal Badin
@@ -14,7 +14,7 @@ import org.springframework.web.client.RestTemplate;
@EnableTransactionManagement
public class ServiceConfig {
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
public WebClient.Builder getWebClientBuilder() {
return WebClient.builder();
}
}
\ No newline at end of file
Loading