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
ConstructorsConstructorDescriptionEngineHostOperationalServices(String localServerName, String localServerId, String localServerUserId, String localServerPassword, int maxPageSize) Constructor used at server startup. -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.adminservices.properties.OMAGServerServiceStatus>Return a summary of the status of this server and the services within it.initialize(org.odpi.openmetadata.adminservices.configuration.properties.EngineHostServicesConfig configuration, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Initialize the service.voidShutdown 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(org.odpi.openmetadata.adminservices.configuration.properties.EngineHostServicesConfig configuration, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Initialize the service.- Parameters:
configuration- config propertiesauditLog- destination for audit log messages.- Returns:
- activated services list
- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException- error in configuration preventing startup
-
getServiceStatuses
public List<org.odpi.openmetadata.adminservices.properties.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.
-