From 2d391116828a7516661764dd42a09de925013aa9 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Fri, 16 Aug 2024 15:08:29 -0600 Subject: [PATCH] Adding missing annotations Signed-off-by: Alfredo Gutierrez --- .../main/java/com/hedera/block/server/health/HealthService.java | 1 + .../java/com/hedera/block/server/health/HealthServiceImpl.java | 1 + 2 files changed, 2 insertions(+) diff --git a/server/src/main/java/com/hedera/block/server/health/HealthService.java b/server/src/main/java/com/hedera/block/server/health/HealthService.java index 533dff8d..66bd4107 100644 --- a/server/src/main/java/com/hedera/block/server/health/HealthService.java +++ b/server/src/main/java/com/hedera/block/server/health/HealthService.java @@ -29,6 +29,7 @@ public interface HealthService extends HttpService { * * @return the root path for the health group endpoints */ + @NonNull String getHealthRootPath(); /** diff --git a/server/src/main/java/com/hedera/block/server/health/HealthServiceImpl.java b/server/src/main/java/com/hedera/block/server/health/HealthServiceImpl.java index 59ec93d5..912d3996 100644 --- a/server/src/main/java/com/hedera/block/server/health/HealthServiceImpl.java +++ b/server/src/main/java/com/hedera/block/server/health/HealthServiceImpl.java @@ -40,6 +40,7 @@ public HealthServiceImpl(@NonNull ServiceStatus serviceStatus) { } @Override + @NonNull public String getHealthRootPath() { return "/healthz"; }