Class RepositoryServicesConfig

java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.RepositoryServicesConfig

public class RepositoryServicesConfig extends AdminServicesConfigHeader
RepositoryServicesConfig provides the configuration properties that are needed by the OMRS components to manage access to the metadata repositories that are members of the open metadata repository cohorts that this server connects to.
  • auditLogConnection is a connection describing the connector to the AuditLog that the OMRS component should use.
  • openMetadataArchiveConnections is a list of Open Metadata Archive Connections. An open metadata archive connection provides properties needed to create a connector to manage an open metadata archive. This contains pre-built TypeDefs and metadata instance. The archives are managed by the OMRSArchiveManager.
  • localRepositoryConfig describes the properties used to manage the local metadata repository for this server.
  • enterpriseAccessConfig describes the properties that control the cohort federation services that the OMRS provides to the Open Metadata AccessServices (OMASs).
  • cohortConfigList provides details of each open metadata repository cohort that the local server is connected to.
  • Constructor Details

    • RepositoryServicesConfig

      public RepositoryServicesConfig()
      Default constructor does nothing
    • RepositoryServicesConfig

      public RepositoryServicesConfig(RepositoryServicesConfig template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getAuditLogConnections

      public List<Connection> getAuditLogConnections()
      Return the Connection properties used to create an OCF Connector to the AuditLog.
      Returns:
      Connection object
    • setAuditLogConnections

      public void setAuditLogConnections(List<Connection> auditLogConnections)
      Set up the Connection properties used to create an OCF Connector to the AuditLog.
      Parameters:
      auditLogConnections - list of Connection objects
    • getOpenMetadataArchiveConnections

      public List<Connection> getOpenMetadataArchiveConnections()
      Return the list of Connection object, each of which is used to create the Connector to an Open Metadata Archive. Open Metadata Archive contains pre-built metadata types and instances.
      Returns:
      list of Connection objects
    • setOpenMetadataArchiveConnections

      public void setOpenMetadataArchiveConnections(List<Connection> openMetadataArchiveConnections)
      Set up the list of Connection object, each of which is used to create the Connector to an Open Metadata Archive. Open Metadata Archive contains pre-built metadata types and instances.
      Parameters:
      openMetadataArchiveConnections - list of Connection objects
    • getLocalRepositoryConfig

      public LocalRepositoryConfig getLocalRepositoryConfig()
      Return the configuration properties for the local repository.
      Returns:
      configuration properties
    • setLocalRepositoryConfig

      public void setLocalRepositoryConfig(LocalRepositoryConfig localRepositoryConfig)
      Set up the configuration properties for the local repository.
      Parameters:
      localRepositoryConfig - configuration properties
    • getEnterpriseAccessConfig

      public EnterpriseAccessConfig getEnterpriseAccessConfig()
      Return the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).
      Returns:
      configuration properties
    • setEnterpriseAccessConfig

      public void setEnterpriseAccessConfig(EnterpriseAccessConfig enterpriseAccessConfig)
      Set up the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).
      Parameters:
      enterpriseAccessConfig - configuration properties
    • getCohortConfigList

      public List<CohortConfig> getCohortConfigList()
      Return the configuration properties for each open metadata repository cohort that this local server connects to.
      Returns:
      list of cohort configuration properties
    • setCohortConfigList

      public void setCohortConfigList(List<CohortConfig> cohortConfigList)
      Set up the configuration properties for each open metadata repository cohort that this local server connects to.
      Parameters:
      cohortConfigList - list of cohort configuration properties
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class Object
      Returns:
      in hash code