Class OMAGServerConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.BasicServerProperties
org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig
OMAGServerConfig provides the properties used to initialize an open metadata and governance (OMAG) server.
The OMAG server configuration has the following basic properties, plus configuration for the subsystems
that should be activated in the OMAG Server:
- localServerId - Unique identifier for this server. By default, this is initialized to a randomly generated Universal Unique identifier (UUID).
- localServerName - meaningful name for the server for use in messages and UIs. Ideally this value is unique to aid administrators in understanding the source of messages and events from the server. This value is set to the server name assigned when the configuration is created.
- localServerType - descriptive type name for the server. Again this is useful information for the administrator to understand the role of the server. The default value is "Open Metadata and Governance Server".
- organizationName - descriptive name for the organization that owns the local server/repository. This is useful when the open metadata repository cohort consists of metadata servers from different organizations, or different departments of an enterprise. The default value is null.
- localServerURL - network address of the OMAG server platform where this server runs (typically host and port number but may also include the initial part of the URL before "open-metadata"). The default value is "...".
- localServerUserId - UserId to use for server initiated REST calls. The default is "OMAGServer".
- maxPageSize - the maximum page size that can be set on requests to the server. The default value is 1000.
-
Field Summary
FieldsFields inherited from class org.odpi.openmetadata.adminservices.configuration.properties.BasicServerProperties
defaultLocalServerType, defaultMaxPageSize -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.OMAGServerConfig(OMAGServerConfig template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanValidate that an object is equal depending on their stored values.Return the configuration for the registered Open Metadata Access Services (OMASs).Return the list of audit log entries associated with this config file.Return the configuration for the open metadata conformance suite services.Return the optional list of dynamic integration groups.Set up the information used to create connections to an event bus.Return the configuration for the engine host services that control an engine host OMAG Server.Return an unique identifier for this server.Return the name of the local server.Return the Open Metadata Repository Services (OMRS) config.Return the connection for the optional server security connector that validates calls to this server from admin to operations to metadata and governance services.Return the versionId of this document.Return the configuration for the registered Open Metadata View Services (OMVSs).inthashCode()Return a hash code based on the values of this object.voidsetAccessServicesConfig(List<AccessServiceConfig> accessServicesConfig) Set up the configuration for the registered Open Metadata Access Services (OMASs).voidsetAuditTrail(List<String> auditTrail) Set up the audit log messages.voidsetConformanceSuiteConfig(ConformanceSuiteConfig conformanceSuiteConfig) Set up the configuration for the open metadata conformance suite services.voidsetDynamicIntegrationGroupsConfig(List<IntegrationGroupConfig> dynamicIntegrationGroupsConfig) Set up the optional list of dynamic integration groups.voidsetEventBusConfig(EventBusConfig eventBusConfig) Set up the information used to create connections to an event bus.voidsetGovernanceEnginesConfig(List<EngineConfig> governanceEnginesConfig) Set up the configuration for the engine host services that control an engine host OMAG Server.voidsetLocalServerId(String localServerId) Set up a unique identifier for this server.voidsetLocalServerName(String localServerName) Set up the name of the local server.voidsetRepositoryServicesConfig(RepositoryServicesConfig repositoryServicesConfig) Set up the Open Metadata Repository Services (OMRS) config.voidsetServerSecurityConnection(Connection serverSecurityConnection) Set up the connection for the optional server security connector that validates calls to this server from admin to operations to metadata and governance services.voidsetVersionId(String versionId) Set up the versionId of this document.voidsetViewServicesConfig(List<ViewServiceConfig> viewServicesConfig) Set up the configuration for the registered Open Metadata View Services (OMVSs).toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.adminservices.configuration.properties.BasicServerProperties
getLocalServerDescription, getLocalServerType, getLocalServerURL, getLocalServerUserId, getMaxPageSize, getOrganizationName, getSecretsStoreCollection, getSecretsStoreLocation, getSecretsStoreProvider, setLocalServerDescription, setLocalServerType, setLocalServerURL, setLocalServerUserId, setMaxPageSize, setOrganizationName, setSecretsStoreCollection, setSecretsStoreLocation, setSecretsStoreProvider
-
Field Details
-
VERSION_ONE
- See Also:
-
VERSION_TWO
- See Also:
-
VERSION_SIX
- See Also:
-
COMPATIBLE_VERSIONS
-
-
Constructor Details
-
OMAGServerConfig
public OMAGServerConfig()Default constructor. -
OMAGServerConfig
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getVersionId
Return the versionId of this document.- Returns:
- string
-
setVersionId
Set up the versionId of this document.- Parameters:
versionId- string
-
getLocalServerId
Return an unique identifier for this server.- Returns:
- string guid
-
setLocalServerId
Set up a unique identifier for this server.- Parameters:
localServerId- string guid
-
getLocalServerName
Return the name of the local server.- Returns:
- String server name
-
setLocalServerName
Set up the name of the local server.- Parameters:
localServerName- String local server name
-
getServerSecurityConnection
Return the connection for the optional server security connector that validates calls to this server from admin to operations to metadata and governance services.- Returns:
- Connection bean.
-
setServerSecurityConnection
Set up the connection for the optional server security connector that validates calls to this server from admin to operations to metadata and governance services.- Parameters:
serverSecurityConnection- connection bean
-
getEventBusConfig
Set up the information used to create connections to an event bus.- Returns:
- EventBusConfig object
-
setEventBusConfig
Set up the information used to create connections to an event bus.- Parameters:
eventBusConfig- EventBusConfig object
-
getAccessServicesConfig
Return the configuration for the registered Open Metadata Access Services (OMASs). Used in a metadata access server.- Returns:
- list of configuration properties, one for each OMAS
-
setAccessServicesConfig
Set up the configuration for the registered Open Metadata Access Services (OMASs). Used in a metadata access server.- Parameters:
accessServicesConfig- list of configuration properties, one for each OMAS
-
getDynamicIntegrationGroupsConfig
Return the optional list of dynamic integration groups. Used in an integration daemon.- Returns:
- list of configuration properties, one for each integration group
-
setDynamicIntegrationGroupsConfig
public void setDynamicIntegrationGroupsConfig(List<IntegrationGroupConfig> dynamicIntegrationGroupsConfig) Set up the optional list of dynamic integration groups. Used in an integration daemon.- Parameters:
dynamicIntegrationGroupsConfig- list of configuration properties, one for each integration group
-
getViewServicesConfig
Return the configuration for the registered Open Metadata View Services (OMVSs). Used in a view server.- Returns:
- list of configuration properties, one for each OMVS
-
setViewServicesConfig
Set up the configuration for the registered Open Metadata View Services (OMVSs). Used in a view server.- Parameters:
viewServicesConfig- array of configuration properties, one for each OMVS
-
getRepositoryServicesConfig
Return the Open Metadata Repository Services (OMRS) config.- Returns:
- configuration properties that control OMRS
-
setRepositoryServicesConfig
Set up the Open Metadata Repository Services (OMRS) config.- Parameters:
repositoryServicesConfig- configuration properties that control OMRS
-
getConformanceSuiteConfig
Return the configuration for the open metadata conformance suite services. Used in a conformance test server.- Returns:
- configuration properties that control the operation of the open metadata test labs.
-
setConformanceSuiteConfig
Set up the configuration for the open metadata conformance suite services. Used in a conformance test server.- Parameters:
conformanceSuiteConfig- configuration properties that control the operation of the open metadata test labs.
-
getGovernanceEnginesConfig
Return the configuration for the engine host services that control an engine host OMAG Server.- Returns:
- properties for an engine host server
-
setGovernanceEnginesConfig
Set up the configuration for the engine host services that control an engine host OMAG Server.- Parameters:
governanceEnginesConfig- properties for an engine host server
-
getAuditTrail
Return the list of audit log entries associated with this config file. The audit log simply keep track of the changed to the configuration.- Returns:
- list of audit messages
-
setAuditTrail
Set up the audit log messages.- Parameters:
auditTrail- list of audit messages
-
toString
Standard toString method.- Overrides:
toStringin classBasicServerProperties- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equalsin classBasicServerProperties- Parameters:
objectToCompare- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCodein classBasicServerProperties- Returns:
- in hash code
-