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 Summary

    Constructors
    Constructor
    Description
    AtlasRelatedElementsIntegrationModule(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, String informalTagsMappingPolicy, String relatedClassificationPolicy, List<String> ignoreClassificationList, String relatedEntityPolicy, List<String> ignoreRelationshipList)
    Constructor for the module is supplied with the runtime context in order to operate.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    synchronizeRelatedElements(Map<String,org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ValidValueElement> referenceClassifications)
    Handle additional related classifications and relationships/entities.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AtlasRelatedElementsIntegrationModule

      public AtlasRelatedElementsIntegrationModule(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, String informalTagsMappingPolicy, String relatedClassificationPolicy, List<String> ignoreClassificationList, String relatedEntityPolicy, List<String> ignoreRelationshipList) 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
      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:
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security problem
  • Method Details

    • synchronizeRelatedElements

      public void synchronizeRelatedElements(Map<String,org.odpi.openmetadata.accessservices.assetmanager.metadataelements.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.