java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasIntegrationModuleBase
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasLineageIntegrationModule

public class AtlasLineageIntegrationModule extends AtlasIntegrationModuleBase
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

    Constructors
    Constructor
    Description
    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)
    Constructor for the module is supplied with the runtime context in order to operate.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Retrieves all the processes catalogued in Apache Atlas and creates an equivalent process in the open metadata ecosystem.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 connector
      auditLog - logging destination
      myContext - integration context
      targetRootURL - URL to connect to Apache Atlas
      atlasClient - client to connect to Apache Atlas
      embeddedConnectors - 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.ConnectorCheckedException
      Retrieves 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.