Class EngineHostOperationalServices
- java.lang.Object
-
- org.odpi.openmetadata.governanceservers.enginehostservices.server.EngineHostOperationalServices
-
public class EngineHostOperationalServices extends Object
EngineHostOperationalServices is responsible for controlling the startup and shutdown of of the engine host services.
-
-
Constructor Summary
Constructors Constructor Description EngineHostOperationalServices(String localServerName, String localServerId, String localServerUserId, String localServerPassword, int maxPageSize)Constructor used at server startup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OMAGServerServiceStatus>getServiceStatuses()Return a summary of the status of this server and the services within it.List<String>initialize(EngineHostServicesConfig configuration, AuditLog auditLog)Initialize the service.voidterminate()Shutdown the service.
-
-
-
Constructor Detail
-
EngineHostOperationalServices
public EngineHostOperationalServices(String localServerName, String localServerId, String localServerUserId, String localServerPassword, int maxPageSize)
Constructor used at server startup.- Parameters:
localServerName- name of the local serverlocalServerId- unique identifier for this serverlocalServerUserId- user id for this server to use on REST calls if processing inbound messages.localServerPassword- user password for this server to use on REST calls if processing inbound messages.maxPageSize- maximum number of records that can be requested on the pageSize parameter
-
-
Method Detail
-
initialize
public List<String> initialize(EngineHostServicesConfig configuration, AuditLog auditLog) throws OMAGConfigurationErrorException
Initialize the service.- Parameters:
configuration- config propertiesauditLog- destination for audit log messages.- Returns:
- activated services list
- Throws:
OMAGConfigurationErrorException- error in configuration preventing startup
-
getServiceStatuses
public List<OMAGServerServiceStatus> getServiceStatuses()
Return a summary of the status of this server and the services within it.- Returns:
- server status
-
terminate
public void terminate()
Shutdown the service.
-
-