From 9b94d798d790432f6e2317340171e97f91324cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Fri, 6 Sep 2024 13:03:01 +0200 Subject: [PATCH] F - Sletter lokale versjoner av DiagnosticsController --- .../pensjon/health/DiagnosticsController.kt | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/main/kotlin/no/nav/eessi/pensjon/health/DiagnosticsController.kt diff --git a/src/main/kotlin/no/nav/eessi/pensjon/health/DiagnosticsController.kt b/src/main/kotlin/no/nav/eessi/pensjon/health/DiagnosticsController.kt deleted file mode 100644 index 54da11ccb..000000000 --- a/src/main/kotlin/no/nav/eessi/pensjon/health/DiagnosticsController.kt +++ /dev/null @@ -1,28 +0,0 @@ -package no.nav.eessi.pensjon.health - -import no.nav.security.token.support.core.api.Unprotected -import org.springframework.http.ResponseEntity -import org.springframework.web.bind.annotation.GetMapping -import org.springframework.web.bind.annotation.RestController - -@RestController -@Unprotected -class DiagnosticsController { - - @GetMapping("/ping") - fun ping(): ResponseEntity { - return ResponseEntity.ok().build() - } - - @GetMapping("/internal/isalive") - fun isalive(): ResponseEntity { - return ResponseEntity.ok("Is alive") - } - - @GetMapping("/internal/isready") - fun isready(): ResponseEntity { - return ResponseEntity.ok("Is ready") - } - -} -