Class OpenLineageServerOperationalServices
- java.lang.Object
-
- org.odpi.openmetadata.governanceservers.openlineage.admin.OpenLineageServerOperationalServices
-
public class OpenLineageServerOperationalServices extends Object
OpenLineageOperationalServices is responsible for controlling the startup and shutdown of of the open lineage services.
-
-
Constructor Summary
Constructors Constructor Description OpenLineageServerOperationalServices(String localServerName, String localServerUserId, String localServerPassword, int maxPageSize)Constructor used at server startup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(OpenLineageServerConfig openLineageServerConfig, OMRSAuditLog auditLog)Initialize the service.booleanshutdown()Shutdown the Open Lineage Services.
-
-
-
Constructor Detail
-
OpenLineageServerOperationalServices
public OpenLineageServerOperationalServices(String localServerName, String localServerUserId, String localServerPassword, int maxPageSize)
Constructor used at server startup.- Parameters:
localServerName- name of the local serverlocalServerUserId- user id for this server to use if sending REST requests and processing inbound messages.localServerPassword- password for this server to use if sending REST requests.maxPageSize- maximum number of records that can be requested on the pageSize parameter
-
-
Method Detail
-
initialize
public void initialize(OpenLineageServerConfig openLineageServerConfig, OMRSAuditLog auditLog) throws OMAGConfigurationErrorException
Initialize the service.- Parameters:
openLineageServerConfig- config propertiesauditLog- destination for audit log messages.- Throws:
OMAGConfigurationErrorException
-
shutdown
public boolean shutdown() throws PropertyServerExceptionShutdown the Open Lineage Services.- Returns:
- boolean indicated whether the disconnect was successful.
- Throws:
PropertyServerException
-
-