Skip to content

Commit

Permalink
E - Oppdatering springboot og kafka, fjerner streaming fra SimpleClie…
Browse files Browse the repository at this point in the history
…ntHttpRequestFactory (depricated )
  • Loading branch information
dskarpas committed Jan 3, 2024
1 parent 1046b9d commit da824de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -90,9 +88,7 @@ class RestTemplateConfig(
tokenIntercetor
)
.build().apply {
requestFactory = BufferingClientHttpRequestFactory(SimpleClientHttpRequestFactory()
.apply { setOutputStreaming(false) }
)
requestFactory = BufferingClientHttpRequestFactory(SimpleClientHttpRequestFactory())
}
}

Expand Down

0 comments on commit da824de

Please sign in to comment.