diff --git a/build.gradle b/build.gradle index 7509e79..980b50f 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,7 @@ dependencies { implementation "io.swagger.core.v3:swagger-annotations" implementation "io.micronaut:micronaut-http-server-netty" implementation "io.micronaut:micronaut-http-client" + implementation "io.micronaut:micronaut-management" kapt platform("io.micronaut:micronaut-bom:$micronautVersion") kapt "io.micronaut:micronaut-inject-java" kapt "io.micronaut:micronaut-validation" diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 91cd5eb..b2ee0b3 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -12,6 +12,9 @@ micronaut: all: allowedOrigins: - http://localhost:3000 +endpoints: + health: + #details-visible: ANONYMOUS backend: kubernetes: