Class RepositoryServicesConfig
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
-
- org.odpi.openmetadata.adminservices.configuration.properties.RepositoryServicesConfig
-
- All Implemented Interfaces:
java.io.Serializable
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 clusters 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 cluster 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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryServicesConfig()
Default constructor does nothingRepositoryServicesConfig(RepositoryServicesConfig template)
Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.java.util.List<Connection>
getAuditLogConnections()
Return the Connection properties used to create an OCF Connector to the AuditLog.java.util.List<CohortConfig>
getCohortConfigList()
Return the configuration properties for each open metadata repository cohort that this local server connects to.EnterpriseAccessConfig
getEnterpriseAccessConfig()
Return the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).LocalRepositoryConfig
getLocalRepositoryConfig()
Return the configuration properties for the local repository.java.util.List<Connection>
getOpenMetadataArchiveConnections()
Return the list of Connection object, each of which is used to create the Connector to an Open Metadata Archive.int
hashCode()
Return a hash code based on the values of this object.void
setAuditLogConnections(java.util.List<Connection> auditLogConnections)
Set up the Connection properties used to create an OCF Connector to the AuditLog.void
setCohortConfigList(java.util.List<CohortConfig> cohortConfigList)
Set up the configuration properties for each open metadata repository cluster that this local server connects to.void
setEnterpriseAccessConfig(EnterpriseAccessConfig enterpriseAccessConfig)
Set up the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).void
setLocalRepositoryConfig(LocalRepositoryConfig localRepositoryConfig)
Set up the configuration properties for the local repository.void
setOpenMetadataArchiveConnections(java.util.List<Connection> openMetadataArchiveConnections)
Set up the list of Connection object, each of which is used to create the Connector to an Open Metadata Archive.java.lang.String
toString()
Standard toString method.
-
-
-
Constructor Detail
-
RepositoryServicesConfig
public RepositoryServicesConfig()
Default constructor does nothing
-
RepositoryServicesConfig
public RepositoryServicesConfig(RepositoryServicesConfig template)
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Detail
-
getAuditLogConnections
public java.util.List<Connection> getAuditLogConnections()
Return the Connection properties used to create an OCF Connector to the AuditLog.- Returns:
- Connection object
-
setAuditLogConnections
public void setAuditLogConnections(java.util.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 java.util.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(java.util.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 java.util.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(java.util.List<CohortConfig> cohortConfigList)
Set up the configuration properties for each open metadata repository cluster that this local server connects to.- Parameters:
cohortConfigList
- list of cohort configuration properties
-
toString
public java.lang.String toString()
Standard toString method.- Overrides:
toString
in classjava.lang.Object
- Returns:
- JSON style description of variables.
-
equals
public boolean equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classjava.lang.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 classjava.lang.Object
- Returns:
- in hash code
-
-