public class HealthCheck extends Object
| Constructor and Description |
|---|
HealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
HealthStatus |
health()
Get health status
|
javax.ws.rs.core.Response |
manifestDetails(javax.servlet.http.HttpServletRequest request)
Endpoint to verify scm and version details
|
javax.ws.rs.core.Response |
ping()
Simple Ping endpoint to check if the UPS is running as expected
|
public HealthStatus health() throws ExecutionException, InterruptedException
HealthStatus with detailsExecutionException - The computation of health status threw an exceptionInterruptedException - The thread, which compute health status, was interruptedpublic javax.ws.rs.core.Response ping()
public javax.ws.rs.core.Response manifestDetails(@Context
javax.servlet.http.HttpServletRequest request)
AttributesCopyright © 2017 JBoss by Red Hat. All rights reserved.