Class AtlasLineageIntegrationModule
java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasIntegrationModuleBase
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasLineageIntegrationModule
AtlasLineageIntegrationModule synchronizes lineage from Apache Atlas to the open metadata ecosystem.
It is called after the registered integration modules have established the key assets into the open metadata ecosystem.
-
Constructor Summary
ConstructorsConstructorDescriptionAtlasLineageIntegrationModule(String connectorName, org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties connectionProperties, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, org.odpi.openmetadata.integrationservices.catalog.connector.CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<org.odpi.openmetadata.frameworks.connectors.Connector> embeddedConnectors) Constructor for the module is supplied with the runtime context in order to operate. -
Method Summary
Modifier and TypeMethodDescriptionvoidRetrieves all the processes catalogued in Apache Atlas and creates an equivalent process in the open metadata ecosystem.
-
Constructor Details
-
AtlasLineageIntegrationModule
public AtlasLineageIntegrationModule(String connectorName, org.odpi.openmetadata.frameworks.connectors.properties.ConnectionProperties connectionProperties, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, org.odpi.openmetadata.integrationservices.catalog.connector.CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<org.odpi.openmetadata.frameworks.connectors.Connector> embeddedConnectors) throws org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Constructor for the module is supplied with the runtime context in order to operate.- Parameters:
connectorName- name of the connector (for messages)connectionProperties- connection properties used to start the connectorauditLog- logging destinationmyContext- integration contexttargetRootURL- URL to connect to Apache AtlasatlasClient- client to connect to Apache AtlasembeddedConnectors- list of any embedded connectors (such as secrets connector and topic connector- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security problem
-
-
Method Details
-
synchronizeLineage
public void synchronizeLineage() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionRetrieves all the processes catalogued in Apache Atlas and creates an equivalent process in the open metadata ecosystem. Then establishes DataFlow relationships between the open metadata entities that match to lineage relationships in Apache Atlas. It is possible that some DataSets in the lineage flow have not been catalogued by the registered modules. A placeholder for each of these data sets is created to ensure the lineage graph is complete.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- problem communicating with Apache Atlas or Egeria.
-