All Implemented Interfaces:
RegisteredIntegrationModule

public class RDBMSIntegrationModule extends DatabaseIntegrationModuleBase
RDBMSIntegrationModule manages the cataloguing of RDBMS entities stored in Apache Atlas into the open metadata ecosystem.
  • Constructor Details

    • RDBMSIntegrationModule

      public RDBMSIntegrationModule(String connectorName, ConnectionProperties connectionProperties, AuditLog auditLog, CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<Connector> embeddedConnectors) throws 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:
      UserNotAuthorizedException - security problem
  • Method Details

    • getEgeriaDatabaseProperties

      protected DataAssetProperties getEgeriaDatabaseProperties(AtlasEntity atlasEntity, String egeriaTypeName)
      Map the properties from the entity retrieved from Apache Atlas to the Egeria properties for the open metadata entity.
      Specified by:
      getEgeriaDatabaseProperties in class DatabaseIntegrationModuleBase
      Parameters:
      atlasEntity - retrieve entity from Apache Atlas
      egeriaTypeName - name of the type used in the open metadata ecosystem
      Returns:
      properties to pass to Egeria
    • getEgeriaDatabaseTableProperties

      protected SchemaAttributeProperties getEgeriaDatabaseTableProperties(AtlasEntity atlasEntity, String egeriaSchemaAttributeTypeName, String egeriaSchemaTypeTypeName)
      Map the properties from the entity retrieved from Apache Atlas to the Egeria properties for the open metadata entity.
      Specified by:
      getEgeriaDatabaseTableProperties in class DatabaseIntegrationModuleBase
      Parameters:
      atlasEntity - retrieve entity from Apache Atlas
      egeriaSchemaAttributeTypeName - name of the type used in the open metadata ecosystem
      egeriaSchemaTypeTypeName - name of the type used in the open metadata ecosystem
      Returns:
      properties to pass to Egeria
    • getEgeriaDatabaseColumnProperties

      protected SchemaAttributeProperties getEgeriaDatabaseColumnProperties(AtlasEntity atlasEntity, String egeriaSchemaAttributeTypeName, String egeriaSchemaTypeTypeName)
      Map the properties from the entity retrieved from Apache Atlas to the Egeria properties for the open metadata entity.
      Specified by:
      getEgeriaDatabaseColumnProperties in class DatabaseIntegrationModuleBase
      Parameters:
      atlasEntity - retrieve entity from Apache Atlas
      egeriaSchemaAttributeTypeName - name of the type used in the open metadata ecosystem
      egeriaSchemaTypeTypeName - name of the type used in the open metadata ecosystem
      Returns:
      properties to pass to Egeria