Class HealthCheckService

java.lang.Object
org.imixs.archive.service.HealthCheckService
All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck

@Liveness @ApplicationScoped public class HealthCheckService extends Object implements org.eclipse.microprofile.health.HealthCheck
The Imixs HealthCheckService implements the Microservice HealthCheck interface.

The service returns the count of workflow models

Example: {"data":{"archive.version":2.2.0},"name":"imixs-archive","state":"UP"}

This check indicates the overall status of the cassandra cluster.

Version:
1.0
Author:
rsoika
  • Constructor Details

    • HealthCheckService

      public HealthCheckService()
  • Method Details

    • call

      public org.eclipse.microprofile.health.HealthCheckResponse call()
      This is the implementation for the health check call back method.

      The method returns the status 'UP' if a valid cluster session exits.

      Example: {"data":{"archive.version":2.2.0},"name":"imixs-archive","state":"UP"}

      Specified by:
      call in interface org.eclipse.microprofile.health.HealthCheck