Skip to content
Snippets Groups Projects
Commit 518d9176 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-2651 re-activate Liveness HealthCheck

parent 35c53769
No related branches found
No related tags found
No related merge requests found
package de.itvsh.kop.user;
//@Liveness
public class MyLivenessCheck {// implements HealthCheck {
import org.eclipse.microprofile.health.HealthCheck;
import org.eclipse.microprofile.health.HealthCheckResponse;
import org.eclipse.microprofile.health.Liveness;
// @Override
// public HealthCheckResponse call() {
// return HealthCheckResponse.up("alive");
// }
@Liveness
public class MyLivenessCheck implements HealthCheck {
@Override
public HealthCheckResponse call() {
return HealthCheckResponse.up("alive");
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment