diff --git a/build.gradle b/build.gradle index 136d31f7..654563ad 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ buildscript { ext { kotlinVersion = '1.9.22' - springBootVersion = '3.1.5' - springKafkaVersion = '3.0.12' + springBootVersion = '3.2.1' + springKafkaVersion = '3.1.1' cxfVersion = '3.4.2' jacksonModuleKotlinVersion = '2.16.1' tokenSupportVersion = '3.2.0' diff --git a/src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt b/src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt index f21388c5..54181005 100644 --- a/src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt +++ b/src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt @@ -24,9 +24,7 @@ import org.springframework.http.client.ClientHttpRequestExecution import org.springframework.http.client.ClientHttpRequestInterceptor import org.springframework.http.client.SimpleClientHttpRequestFactory import org.springframework.web.client.DefaultResponseErrorHandler -import org.springframework.web.client.ResponseErrorHandler import org.springframework.web.client.RestTemplate -import java.time.Duration @Configuration @@ -90,9 +88,7 @@ class RestTemplateConfig( tokenIntercetor ) .build().apply { - requestFactory = BufferingClientHttpRequestFactory(SimpleClientHttpRequestFactory() - .apply { setOutputStreaming(false) } - ) + requestFactory = BufferingClientHttpRequestFactory(SimpleClientHttpRequestFactory()) } }