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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HealthChecker
getHealthChecker
(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:
info
in 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: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 interfaceChenileInfoService
- Returns:
- the value returned by the health check service
-
serviceInfo
- Specified by:
serviceInfo
in interfaceChenileInfoService
- Returns:
- the full information for a particular service.
-
getHealthChecker
-