Class AtlasReferenceClassificationsIntegrationModule

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

public class AtlasReferenceClassificationsIntegrationModule extends AtlasIntegrationModuleBase
AtlasReferenceClassificationsIntegrationModule synchronizes a valid value set of classification definitions from the open metadata ecosystem to Apache Atlas as classification definitions. This is used to It is called after the registered integration modules have established the key assets into the open metadata ecosystem.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Return the unique identifier of the reference data set qualified name.
    Map<String,org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ValidValueElement>
    Exchange Atlas classification types as defined by the classification reference set.

    Methods inherited from class java.lang.Object

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

    • AtlasReferenceClassificationsIntegrationModule

      public AtlasReferenceClassificationsIntegrationModule(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 classificationReferenceSetName, String classificationReferenceSetPolicy) 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
      classificationReferenceSetName - determines what type of mapping to perform for informal tags
      classificationReferenceSetPolicy - determines the direction of exchange between the open metadata ecosystem and Apache Atlas
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security problem
  • Method Details

    • synchronizeClassificationDefinitions

      public Map<String,org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ValidValueElement> synchronizeClassificationDefinitions()
      Exchange Atlas classification types as defined by the classification reference set.
      Returns:
      map of classification names to reference classification definitions
    • getClassificationReferenceSetGUID

      public String getClassificationReferenceSetGUID() throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the unique identifier of the reference data set qualified name.
      Returns:
      string guid
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to make this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - the repository is not available or not working properly.