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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a summary of the status of this server and the services within it.initialize(List<EngineConfig> configuration, AuditLog auditLog) Initialize the service.voidShutdown the service.
-
Constructor Details
-
EngineHostOperationalServices
public EngineHostOperationalServices(String localServerName, String localServerUserId, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize) Constructor used at server startup.- Parameters:
localServerName- name of the local serverlocalServerUserId- user id for this server to use on metadata requests.localServerSecretsStoreProvider- secrets store connector for bearer tokenlocalServerSecretsStoreLocation- secrets store location for bearer tokenlocalServerSecretsStoreCollection- secrets store collection for bearer tokenmaxPageSize- maximum number of records that can be requested on the pageSize parameter
-
-
Method Details
-
initialize
public List<String> initialize(List<EngineConfig> 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.
-