BJ-997: remove RequestScope by reason of Async request handling (revert) (#9)

This commit is contained in:
Anatolii Karlov 2020-10-16 20:20:05 +07:00 committed by GitHub
parent c58bb54ff3
commit 7bc2636710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,7 @@
</parent>
<artifactId>three-ds-server-storage</artifactId>
<version>0.0.2-SNAPSHOT</version>
<version>0.9.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Three ds server storage</name>
@ -31,7 +31,7 @@
<dependency>
<groupId>com.rbkmoney</groupId>
<artifactId>spring-boot-starter-metrics-statsd</artifactId>
<version>1.1.0</version>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.rbkmoney</groupId>

View File

@ -14,7 +14,6 @@ import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.context.annotation.RequestScope;
import javax.net.ssl.SSLContext;
import java.time.Duration;
@ -24,7 +23,6 @@ import java.time.Duration;
public class RestTemplateConfig {
@Bean
@RequestScope
public RestTemplate restTemplate(
MetricsRestTemplateCustomizer metricsRestTemplateCustomizer,
@Value("${client.three-ds-server.timeout}") int networkTimeout) {