From 0246f123ffe762acf41e768684c1d4ba7ee0efec Mon Sep 17 00:00:00 2001 From: sigurdgroneng Date: Fri, 27 Sep 2024 14:58:21 +0200 Subject: [PATCH] Slipp igjennom IngenGjeldendeIdentException ved consumering av EndringPaOppfolgingBruker --- .../nav/veilarboppfolging/config/ClientConfig.java | 2 -- .../service/KafkaConsumerService.java | 14 +++++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/main/java/no/nav/veilarboppfolging/config/ClientConfig.java b/src/main/java/no/nav/veilarboppfolging/config/ClientConfig.java index d95339bbe..af5dbb5a5 100644 --- a/src/main/java/no/nav/veilarboppfolging/config/ClientConfig.java +++ b/src/main/java/no/nav/veilarboppfolging/config/ClientConfig.java @@ -9,9 +9,7 @@ import no.nav.common.rest.client.RestClient; import no.nav.common.token_client.builder.AzureAdTokenClientBuilder; import no.nav.common.token_client.builder.TokenXTokenClientBuilder; -import no.nav.common.token_client.client.AzureAdMachineToMachineTokenClient; import no.nav.common.token_client.client.AzureAdOnBehalfOfTokenClient; -import no.nav.common.token_client.client.MachineToMachineTokenClient; import no.nav.common.token_client.client.TokenXOnBehalfOfTokenClient; import no.nav.veilarboppfolging.client.amttiltak.AmtTiltakClient; import no.nav.veilarboppfolging.client.digdir_krr.DigdirClient; diff --git a/src/main/java/no/nav/veilarboppfolging/service/KafkaConsumerService.java b/src/main/java/no/nav/veilarboppfolging/service/KafkaConsumerService.java index 82455ed96..bb9f2f333 100644 --- a/src/main/java/no/nav/veilarboppfolging/service/KafkaConsumerService.java +++ b/src/main/java/no/nav/veilarboppfolging/service/KafkaConsumerService.java @@ -75,11 +75,15 @@ public void consumeEndringPaOppfolgingBruker(ConsumerRecord