mirror of
https://github.com/valitydev/three-ds-server-storage.git
synced 2024-11-06 08:25:16 +00:00
BJ-997: remove RequestScope by reason of Async request handling (revert) (#9)
This commit is contained in:
parent
c58bb54ff3
commit
7bc2636710
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user