Class AtlasRelatedElementsIntegrationModule

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

public class AtlasRelatedElementsIntegrationModule extends AtlasIntegrationModuleBase
AtlasRelatedElementsIntegrationModule synchronizes related entities and classifications attached to Apache Atlas originating entities within the open metadata ecosystem. It is called after the registered integration modules have established the key assets into the open metadata ecosystem.
  • Constructor Details

    • AtlasRelatedElementsIntegrationModule

      public AtlasRelatedElementsIntegrationModule(String connectorName, ConnectionProperties connectionProperties, AuditLog auditLog, CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<Connector> embeddedConnectors, String informalTagsMappingPolicy, String relatedClassificationPolicy, List<String> ignoreClassificationList, String relatedEntityPolicy, List<String> ignoreRelationshipList) 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
      informalTagsMappingPolicy - determines what type of mapping to perform for informal tags
      relatedClassificationPolicy - determines how classifications should be processed. Can be "ALL", "SELECTED" or "NONE".
      ignoreClassificationList - list of classifications to ignore if relatedClassificationPolicy==SELECTED
      relatedEntityPolicy - determines how related entities should be processed. Can be "ALL", "SELECTED" or "NONE".
      ignoreRelationshipList - ist of relationships to ignore if relatedEntityPolicy==SELECTED
      Throws:
      UserNotAuthorizedException - security problem
  • Method Details

    • synchronizeRelatedElements

      public void synchronizeRelatedElements(Map<String,ValidValueElement> referenceClassifications)
      Handle additional related classifications and relationships/entities.
      Parameters:
      referenceClassifications - details of the reference classification. This map is empty is the reference classification set is not defined.