Class OpenLineageServerConfig
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
-
- org.odpi.openmetadata.adminservices.configuration.properties.OpenLineageServerConfig
-
- All Implemented Interfaces:
Serializable
public class OpenLineageServerConfig extends AdminServicesConfigHeader
OpenLineageConfig provides the properties for the open-lineage-services.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenLineageServerConfig()Default constructorOpenLineageServerConfig(OpenLineageServerConfig template)Set up the default values for open lineage
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OLSSimplifiedAccessServiceConfiggetAccessServiceConfig()Gets access service config.List<OLSBackgroundJob>getBackgroundJobs()Gets background jobs.ConnectiongetInTopicConnection()Return the OCF Connection for the In Topic used to pass requests to this Open Lineage.intgetJobIntervalInSeconds()ConnectiongetLineageGraphConnection()Return the Connection for LineageGraph that will be used for Open LineageStringgetLineageServerURL()Return the URL for the Lineage Server used in the Governance Server ConnectorStringgetOpenLineageDescription()Return the short description of the Open Lineage Component.intgetOpenLineageId()Return the code number (ordinal) for this Open LineageStringgetOpenLineageName()Return the name of the Open Lineage ConnectorinthashCode()voidsetAccessServiceConfig(OLSSimplifiedAccessServiceConfig accessServiceConfig)Sets access service config.voidsetBackgroundJobs(List<OLSBackgroundJob> backgroundJobs)Sets background jobs.voidsetInTopicConnection(Connection inTopicConnection)Set up the OCF Connection for the Out Topic used to pass requests to this Open Lineage.voidsetJobIntervalInSeconds(int jobIntervalInSeconds)voidsetLineageGraphConnection(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 ConnectorStringtoString()
-
-
-
Constructor Detail
-
OpenLineageServerConfig
public OpenLineageServerConfig()
Default constructor
-
OpenLineageServerConfig
public OpenLineageServerConfig(OpenLineageServerConfig template)
Set up the default values for open lineage- Parameters:
template- fixed properties about open lineage
-
-
Method Detail
-
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
public String getOpenLineageName()
Return the name of the Open Lineage Connector- Returns:
- the name of the open lineage connector
-
setOpenLineageName
public void setOpenLineageName(String openLineageName)
Set up the name of the Open Lineage Connector- Parameters:
openLineageName- connector name
-
getOpenLineageDescription
public String 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
public void setOpenLineageDescription(String openLineageDescription)
Set up the short description of the Open Lineage.- Parameters:
openLineageDescription- String description
-
getLineageServerURL
public String getLineageServerURL()
Return the URL for the Lineage Server used in the Governance Server Connector- Returns:
- String URL
-
setLineageServerURL
public void setLineageServerURL(String lineageServerURL)
Set up the URL for the Lineage Server used in the Governance Server Connector.- Parameters:
lineageServerURL- String for Governance Server URL
-
getInTopicConnection
public Connection getInTopicConnection()
Return the OCF Connection for the In Topic used to pass requests to this Open Lineage. For example, the output topic of Governance Engine OMAS can be provided (e.g. "open-metadata.access-services.GovernanceEngine.outTopic")- Returns:
- Connection for In Topic
-
setInTopicConnection
public void setInTopicConnection(Connection inTopicConnection)
Set up the OCF Connection for the Out Topic used to pass requests to this Open Lineage.- Parameters:
inTopicConnection- Connection for In Topic
-
getLineageGraphConnection
public Connection getLineageGraphConnection()
Return the Connection for LineageGraph that will be used for Open Lineage- Returns:
- Connection for lineageGraph
-
setLineageGraphConnection
public void setLineageGraphConnection(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
public OLSSimplifiedAccessServiceConfig getAccessServiceConfig()
Gets access service config.- Returns:
- the access service config
-
setAccessServiceConfig
public void setAccessServiceConfig(OLSSimplifiedAccessServiceConfig accessServiceConfig)
Sets access service config.- Parameters:
accessServiceConfig- the access service config
-
getBackgroundJobs
public List<OLSBackgroundJob> getBackgroundJobs()
Gets background jobs.- Returns:
- the background jobs
-
setBackgroundJobs
public void setBackgroundJobs(List<OLSBackgroundJob> backgroundJobs)
Sets background jobs.- Parameters:
backgroundJobs- the background jobs
-
-