Package org.chenile.core.service
Class ChenileInfoServiceImpl
java.lang.Object
org.chenile.core.service.ChenileInfoServiceImpl
- All Implemented Interfaces:
ChenileInfoService
This class provides information about all services registered in this running instance of Chenile.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HealthCheckergetHealthChecker(String currTrajectory, ChenileServiceDefinition csd) healthCheck(String currTrajectory, String service) 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 404info()serviceInfo(String service)
-
Field Details
-
chenileConfiguration
-
-
Constructor Details
-
ChenileInfoServiceImpl
public ChenileInfoServiceImpl()
-
-
Method Details
-
info
- Specified by:
infoin interfaceChenileInfoService- Returns:
- the version of the current deployable along with service information for all services deployed within the deployable (including this service)
-
healthCheck
Description copied from interface:ChenileInfoServiceCalls 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:
healthCheckin interfaceChenileInfoService- Returns:
- the value returned by the health check service
-
serviceInfo
- Specified by:
serviceInfoin interfaceChenileInfoService- Returns:
- the full information for a particular service.
-
getHealthChecker
-