All Known Implementing Classes:
OMRSEnterpriseConnectorManager

public interface OMRSConnectionConsumer
OMRSConnectionConsumer provides the interfaces for a connection consumer. This is a component that needs to maintain a current list of connections to all the repositories in the open metadata repository cohort.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRemoteConnection(String cohortName, String remoteServerName, String remoteServerType, String owningOrganizationName, String metadataCollectionId, String metadataCollectionName, Connection remoteConnection)
    Pass details of the connection for one of the remote repositories registered in a connected open metadata repository cohort.
    void
    removeCohort(String cohortName)
    Remove all the remote connections for the requested open metadata repository cohort.
    void
    removeRemoteConnection(String cohortName, String metadataCollectionId)
    Pass details of the connection for the repository that has left one of the open metadata repository cohorts.
  • Method Details

    • addRemoteConnection

      void addRemoteConnection(String cohortName, String remoteServerName, String remoteServerType, String owningOrganizationName, String metadataCollectionId, String metadataCollectionName, Connection remoteConnection) throws ConnectionCheckedException, ConnectorCheckedException
      Pass details of the connection for one of the remote repositories registered in a connected open metadata repository cohort.
      Parameters:
      cohortName - name of the cohort adding the remote connection.
      remoteServerName - name of the remote server for this connection.
      remoteServerType - type of the remote server.
      owningOrganizationName - name of the organization the owns the remote server.
      metadataCollectionId - Unique identifier for the metadata collection
      metadataCollectionName - Display name for the metadata collection
      remoteConnection - Connection object providing properties necessary to create an OMRSRepositoryConnector for the remote repository.
      Throws:
      ConnectionCheckedException - there are invalid properties in the Connection
      ConnectorCheckedException - there is a problem initializing the Connector
    • removeRemoteConnection

      void removeRemoteConnection(String cohortName, String metadataCollectionId)
      Pass details of the connection for the repository that has left one of the open metadata repository cohorts.
      Parameters:
      cohortName - name of the cohort removing the remote connection.
      metadataCollectionId - Unique identifier for the metadata collection.
    • removeCohort

      void removeCohort(String cohortName)
      Remove all the remote connections for the requested open metadata repository cohort.
      Parameters:
      cohortName - name of the cohort