@Health @ApplicationScoped public class HealthCheckService extends Object implements org.eclipse.microprofile.health.HealthCheck
The service returns the count of workflow models
Example:
{"data":{"model.count":1},"name":"imixs-workflow","state":"UP"}
This check indicates the overall status of the workflow engine. If models are available also database access and security works.
| Constructor and Description |
|---|
HealthCheckService() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.health.HealthCheckResponse |
call()
This is the implementation for the health check call back method.
|
public org.eclipse.microprofile.health.HealthCheckResponse call()
The method returns the status 'UP' together with the count of workflow models
Example:
{"data":{"model.count":1},"name":"imixs-workflow","state":"UP"}
This check indicates the overall status of the workflow engine. If models are available also database access and security works.
call in interface org.eclipse.microprofile.health.HealthCheckCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.