diff --git a/template-server/src/main/java/de/twomartens/templateservice/actuator/RestHealthCheck.java b/template-server/src/main/java/de/twomartens/templateservice/actuator/RestHealthCheck.java index 608bdca..02aef92 100644 --- a/template-server/src/main/java/de/twomartens/templateservice/actuator/RestHealthCheck.java +++ b/template-server/src/main/java/de/twomartens/templateservice/actuator/RestHealthCheck.java @@ -14,15 +14,7 @@ import org.springframework.web.client.RestTemplate; import java.util.Optional; /** - * A Healtcheck which checks if the rest services are working. - * - * If you have a complex service behind grpc, you should think about an easy greeting or echo service, which only tests - * the network/service stack and not the full application. - * - * The healthcheck will be called by kubernetes to check if the container/pod shuold be in loadbalancing. It is possible - * to have as much healthchecks as you loke. - * - * There should be a healtcheck which is ok not before all data is loaded. + * A Health check which checks if the rest services are working.] */ @Slf4j @Component @@ -55,7 +47,7 @@ public class RestHealthCheck extends AbstractHealthCheck implements HealthIndica @Override String getMethodName() { - return "infodb-rest"; + return "template-service-rest"; } String mkEndpoint() {