Class EngineHostOperationalServices
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.server.EngineHostOperationalServices
EngineHostOperationalServices is responsible for controlling the startup and shutdown
of the engine host services.
-
Constructor Summary
ConstructorDescriptionEngineHostOperationalServices
(String localServerName, String localServerId, String localServerUserId, String localServerPassword, int maxPageSize) Constructor used at server startup. -
Method Summary
Modifier and TypeMethodDescriptionReturn a summary of the status of this server and the services within it.initialize
(EngineHostServicesConfig configuration, AuditLog auditLog) Initialize the service.void
Shutdown the service.
-
Constructor Details
-
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 Details
-
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
Return a summary of the status of this server and the services within it.- Returns:
- server status
-
terminate
public void terminate()Shutdown the service.
-