Class RepositoryServicesConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.RepositoryServicesConfig
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 Summary
ConstructorDescriptionDefault constructor does nothingCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the Connection properties used to create an OCF Connector to the AuditLog.Return the configuration properties for each open metadata repository cohort that this local server connects to.Return the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).Return the configuration properties for the local repository.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
(List<Connection> auditLogConnections) Set up the Connection properties used to create an OCF Connector to the AuditLog.void
setCohortConfigList
(List<CohortConfig> cohortConfigList) Set up the configuration properties for each open metadata repository cohort 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
(List<Connection> openMetadataArchiveConnections) Set up the list of Connection object, each of which is used to create the Connector to an Open Metadata Archive.toString()
Standard toString method.
-
Constructor Details
-
RepositoryServicesConfig
public RepositoryServicesConfig()Default constructor does nothing -
RepositoryServicesConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAuditLogConnections
Return the Connection properties used to create an OCF Connector to the AuditLog.- Returns:
- Connection object
-
setAuditLogConnections
Set up the Connection properties used to create an OCF Connector to the AuditLog.- Parameters:
auditLogConnections
- list of Connection objects
-
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
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
Return the configuration properties for the local repository.- Returns:
- configuration properties
-
setLocalRepositoryConfig
Set up the configuration properties for the local repository.- Parameters:
localRepositoryConfig
- configuration properties
-
getEnterpriseAccessConfig
Return the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).- Returns:
- configuration properties
-
setEnterpriseAccessConfig
Set up the configuration for the federation services provided by OMRS to the Open Metadata Access Services (OMASs).- Parameters:
enterpriseAccessConfig
- configuration properties
-
getCohortConfigList
Return the configuration properties for each open metadata repository cohort that this local server connects to.- Returns:
- list of cohort configuration properties
-
setCohortConfigList
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
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-