All Implemented Interfaces:
RegisteredIntegrationModule

public class AtlasGlossaryIntegrationModule extends AtlasRegisteredIntegrationModuleBase
AtlasGlossaryIntegrationModule exchanges glossary terms between Apache Atlas and the open metadata ecosystem.
  • Constructor Details

    • AtlasGlossaryIntegrationModule

      public AtlasGlossaryIntegrationModule(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

    • refresh

      public void refresh() throws ConnectorCheckedException
      Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories. Refresh is called when the integration connector first starts and then at intervals defined in the connector's configuration as well as any external REST API calls to explicitly refresh the connector.

      This method performs two sweeps. It first retrieves the glossary elements from Egeria and synchronizes them with Apache Atlas. The second sweep works through the glossaries in Apache Atlas and ensures that none have been missed out by the first sweep.
      Throws:
      ConnectorCheckedException - there is a problem with the connector. It is not able to refresh the metadata.
    • processEvent

      public void processEvent(AssetManagerOutTopicEvent event)
      Process an event that was published by the Asset Manager OMAS. This connector is only interested in listening for glossaries, glossary categories and glossary terms. The listener that calls this method is only registered if metadata is flowing from the open metadata ecosystem to Apache Atlas.
      Parameters:
      event - event object