From 682ecc305324cd3756005d0c8991e7019d1cb382 Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Thu, 18 Jul 2024 08:48:22 +0200 Subject: [PATCH] OSIS-151: removed utapi healthcheck and bump to 2.2.5 --- build.gradle | 2 +- .../healthcheck/UtapiHealthIndicator.java | 22 ------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 osis-app/src/main/java/com/scality/osis/healthcheck/UtapiHealthIndicator.java diff --git a/build.gradle b/build.gradle index 019d43a..8795ed1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { ext { - osisVersion = '2.2.4' + osisVersion = '2.2.5' vaultclientVersion = '1.1.2' springBootVersion = '2.7.6' } diff --git a/osis-app/src/main/java/com/scality/osis/healthcheck/UtapiHealthIndicator.java b/osis-app/src/main/java/com/scality/osis/healthcheck/UtapiHealthIndicator.java deleted file mode 100644 index 4fb76be..0000000 --- a/osis-app/src/main/java/com/scality/osis/healthcheck/UtapiHealthIndicator.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - *Copyright 2021 Scality, Inc. - *SPDX-License-Identifier: Apache License 2.0 - */ - -package com.scality.osis.healthcheck; - -import org.springframework.boot.actuate.health.Health; -import org.springframework.boot.actuate.health.HealthIndicator; -import org.springframework.stereotype.Component; - - -@Component("utapi") -public class UtapiHealthIndicator implements HealthIndicator { - - @Override - public Health health() { - // We want to make sure healthcheck is false even if it is set in application.properties - // This will be enabled and potentially refactored with S3C-8266 - return Health.down().build(); - } -}