Class ChenileInfoServiceImpl

java.lang.Object
org.chenile.core.service.ChenileInfoServiceImpl
All Implemented Interfaces:
ChenileInfoService

public class ChenileInfoServiceImpl extends Object implements ChenileInfoService
This class provides information about all services registered in this running instance of Chenile.
  • Field Details

  • Constructor Details

    • ChenileInfoServiceImpl

      public ChenileInfoServiceImpl()
  • Method Details

    • info

      public Info info()
      Specified by:
      info in interface ChenileInfoService
      Returns:
      the version of the current deployable along with service information for all services deployed within the deployable (including this service)
    • healthCheck

      public HealthCheckInfo healthCheck(String currTrajectory, String service)
      Description copied from interface: ChenileInfoService
      Calls the health check information service attached to the particular service and gets them to perform a health check In case the service does not have a health check configured it throws a 404
      Specified by:
      healthCheck in interface ChenileInfoService
      Returns:
      the value returned by the health check service
    • serviceInfo

      public ChenileServiceDefinition serviceInfo(String service)
      Specified by:
      serviceInfo in interface ChenileInfoService
      Parameters:
      service -
      Returns:
      the full information for a particular service.
    • getHealthChecker

      protected HealthChecker getHealthChecker(String currTrajectory, ChenileServiceDefinition csd)