From e3a28bf4ecb74fed353876817ac70cd266b4fc38 Mon Sep 17 00:00:00 2001 From: Jan Kroken Date: Wed, 20 Nov 2024 12:43:32 +0100 Subject: [PATCH] Fjernet ubrukt kode --- .../hjelpest\303\270nad/TempLoggingFilter.kt" | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 "src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/barnetrygd/external/hjelpest\303\270nad/TempLoggingFilter.kt" diff --git "a/src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/barnetrygd/external/hjelpest\303\270nad/TempLoggingFilter.kt" "b/src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/barnetrygd/external/hjelpest\303\270nad/TempLoggingFilter.kt" deleted file mode 100644 index 5882598..0000000 --- "a/src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/start/innlesning/barnetrygd/external/hjelpest\303\270nad/TempLoggingFilter.kt" +++ /dev/null @@ -1,15 +0,0 @@ -package no.nav.pensjon.opptjening.omsorgsopptjening.start.innlesning.barnetrygd.external.hjelpestønad - -import org.springframework.web.reactive.function.client.ExchangeFilterFunction -import reactor.core.publisher.Mono - -fun logRequest(): ExchangeFilterFunction { - return ExchangeFilterFunction.ofRequestProcessor { clientRequest -> - clientRequest.body().let { body -> - println("Request: ${clientRequest.method()} ${clientRequest.url()}") - println("Request Headers: ${clientRequest.headers()}") - println("Request Body: $body") - } - Mono.just(clientRequest) - } -} \ No newline at end of file