added log
This commit is contained in:
parent
c2f65dd234
commit
ca5c9eec77
|
@ -18,7 +18,9 @@ public class GeoportalHealthCheck implements HealthCheck {
|
|||
@Override
|
||||
public HealthCheckResponse call() {
|
||||
log.info(GeoportalHealthCheck.class.getSimpleName() + " call");
|
||||
return HealthCheckResponse.named(SERVICE_NAME).state(true).withData("status", "healthy").build();
|
||||
HealthCheckResponse response = HealthCheckResponse.named(SERVICE_NAME).state(true).withData("serviceStatus", "healthy").build();
|
||||
log.info("Generated HealthCheckResponse: " + response);
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue