Class OpenLineageServerConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.OpenLineageServerConfig
- All Implemented Interfaces:
Serializable
OpenLineageConfig provides the properties for the open-lineage-services.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSet up the default values for open lineage -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets access service config.Gets background jobs.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection object for the in topic as defined in the server configurationintorg.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the Connection for LineageGraph that will be used for Open LineageReturn the URL for the Lineage Server used in the Governance Server ConnectorReturn the short description of the Open Lineage Component.intReturn the code number (ordinal) for this Open LineageReturn the name of the Open Lineage ConnectorinthashCode()voidsetAccessServiceConfig(OLSSimplifiedAccessServiceConfig accessServiceConfig) Sets access service config.voidsetBackgroundJobs(List<OLSBackgroundJob> backgroundJobs) Sets background jobs.voidsetInTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection inTopicConnection) Sets Connection override object in the server configurationvoidsetJobIntervalInSeconds(int jobIntervalInSeconds) voidsetLineageGraphConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection lineageGraphConnection) Set up the Open Lineage Graph ConnectionvoidsetLineageServerURL(String lineageServerURL) Set up the URL for the Lineage Server used in the Governance Server Connector.voidsetOpenLineageDescription(String openLineageDescription) Set up the short description of the Open Lineage.voidsetOpenLineageId(int openLineageId) Set up the code number (ordinal) for the Open LineagevoidsetOpenLineageName(String openLineageName) Set up the name of the Open Lineage ConnectortoString()
-
Constructor Details
-
OpenLineageServerConfig
public OpenLineageServerConfig()Default constructor -
OpenLineageServerConfig
Set up the default values for open lineage- Parameters:
template- fixed properties about open lineage
-
-
Method Details
-
getOpenLineageId
public int getOpenLineageId()Return the code number (ordinal) for this Open Lineage- Returns:
- the code number for Open Lineage component
-
setOpenLineageId
public void setOpenLineageId(int openLineageId) Set up the code number (ordinal) for the Open Lineage- Parameters:
openLineageId- int ordinal
-
getOpenLineageName
Return the name of the Open Lineage Connector- Returns:
- the name of the open lineage connector
-
setOpenLineageName
Set up the name of the Open Lineage Connector- Parameters:
openLineageName- connector name
-
getOpenLineageDescription
Return the short description of the Open Lineage Component. The default value is in English but this can be changed.- Returns:
- String description
-
setOpenLineageDescription
Set up the short description of the Open Lineage.- Parameters:
openLineageDescription- String description
-
getLineageServerURL
Return the URL for the Lineage Server used in the Governance Server Connector- Returns:
- String URL
-
setLineageServerURL
Set up the URL for the Lineage Server used in the Governance Server Connector.- Parameters:
lineageServerURL- String for Governance Server URL
-
getInTopicConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getInTopicConnection()Return the connection object for the in topic as defined in the server configuration- Returns:
- Connection object for the in topic as defined in the server configuration
-
setInTopicConnection
public void setInTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection inTopicConnection) Sets Connection override object in the server configuration- Parameters:
inTopicConnection- Connection for In Topic
-
getLineageGraphConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getLineageGraphConnection()Return the Connection for LineageGraph that will be used for Open Lineage- Returns:
- Connection for lineageGraph
-
setLineageGraphConnection
public void setLineageGraphConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection lineageGraphConnection) Set up the Open Lineage Graph Connection- Parameters:
lineageGraphConnection- Connection for LineageGraph
-
getJobIntervalInSeconds
public int getJobIntervalInSeconds()- Returns:
- Interval for Open Lineage Services background processing job
-
setJobIntervalInSeconds
public void setJobIntervalInSeconds(int jobIntervalInSeconds) - Parameters:
jobIntervalInSeconds- Interval to be used by Open Lineage Services background processing job
-
getAccessServiceConfig
Gets access service config.- Returns:
- the access service config
-
setAccessServiceConfig
Sets access service config.- Parameters:
accessServiceConfig- the access service config
-
getBackgroundJobs
Gets background jobs.- Returns:
- the background jobs
-
setBackgroundJobs
Sets background jobs.- Parameters:
backgroundJobs- the background jobs
-
toString
-
equals
-
hashCode
public int hashCode()
-