Skip to content

Commit

Permalink
Merge pull request #1734 from navikt/dependabot/maven/com.zaxxer-Hika…
Browse files Browse the repository at this point in the history
…riCP-6.0.0

Bump com.zaxxer:HikariCP from 5.1.0 to 6.0.0
  • Loading branch information
JulieHillRoa authored Oct 28, 2024
2 parents ed3600e + caa2c07 commit cb2eaca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>5.1.0</version>
<version>6.0.0</version>
</dependency>

<!-- Kafka -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ public Arbeidsliste oppdaterArbeidsListe(@RequestBody ArbeidslisteRequest body,
.getOrElseThrow(() -> new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR));

if (arbeidslisteService.getArbeidsliste(fnr).get() == null) {
VeilederId veilederId = AuthUtils.getInnloggetVeilederIdent();
NavKontor enhet = brukerService.hentNavKontor(fnr).orElse(null);
secureLog.warn("Arbeidsliste kunne ikke oppdateres, var null, fnr: {}, veileder: {}, på enhet: {}", fnr.get(), veilederId, enhet);
throw new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR, "Kunne ikke oppdatere. Fant ikke arbeidsliste for bruker");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ public Arbeidsliste oppdaterArbeidsListe(@RequestBody ArbeidslisteV2Request body
.getOrElseThrow(() -> new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR));

if (arbeidslisteService.getArbeidsliste(fnr).get() == null) {
VeilederId veilederId = AuthUtils.getInnloggetVeilederIdent();
NavKontor enhet = brukerService.hentNavKontor(fnr).orElse(null);
secureLog.warn("Arbeidsliste kunne ikke oppdateres, var null, fnr: {}, veileder: {}, på enhet: {}", body.fnr().get(), veilederId, enhet);
throw new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR, "Kunne ikke oppdatere. Fant ikke arbeidsliste for bruker");
}

Expand Down

0 comments on commit cb2eaca

Please sign in to comment.