Class OMAGServerConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
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
-
Constructor Summary
ConstructorDescriptionDefault constructor.OMAGServerConfig
(OMAGServerConfig template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate 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.Return the configuration for the engine host services that control an engine host OMAG Server.Set up the information used to create connections to an event bus.Return the configuration for the registered Open Metadata Integration Services (OMISs).Return the description of the local server.Return an unique identifier for this server.Return the name of the local server.Return the password that the local server should use on outbound REST calls (this is the password for the localServerUserId).Return the descriptive name for the server type.Return the base URL for calling the local server.Return the userId that the local server should use when processing events and there is no external user driving the operation.int
Return the maximum page size supported by this server.Return the name of the organization that is running the 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).int
hashCode()
Return a hash code based on the values of this object.void
setAccessServicesConfig
(List<AccessServiceConfig> accessServicesConfig) Set up the configuration for the registered Open Metadata Access Services (OMASs).void
setAuditTrail
(List<String> auditTrail) Set up the audit log messages.void
setConformanceSuiteConfig
(ConformanceSuiteConfig conformanceSuiteConfig) Set up the configuration for the open metadata conformance suite services.void
setDynamicIntegrationGroupsConfig
(List<IntegrationGroupConfig> dynamicIntegrationGroupsConfig) Set up the optional list of dynamic integration groups.void
setEngineHostServicesConfig
(EngineHostServicesConfig engineHostServicesConfig) Set up the configuration for the engine host services that control an engine host OMAG Server.void
setEventBusConfig
(EventBusConfig eventBusConfig) Set up the information used to create connections to an event bus.void
setIntegrationServicesConfig
(List<IntegrationServiceConfig> integrationServicesConfig) Set up the configuration for the registered Open Metadata Integration Services (OMISs).void
setLocalServerDescription
(String localServerDescription) Set up the description of the local server.void
setLocalServerId
(String localServerId) Set up a unique identifier for this server.void
setLocalServerName
(String localServerName) Set up the name of the local server.void
setLocalServerPassword
(String localServerPassword) Set up the password that the local server should use on outbound REST calls (this is the password for the localServerUserId).void
setLocalServerType
(String localServerType) Set up the descriptive name for the server type.void
setLocalServerURL
(String localServerURL) Set up the base URL for calling the local server.void
setLocalServerUserId
(String localServerUserId) Set up the userId that the local server should use when processing events and there is no external user driving the operation.void
setMaxPageSize
(int maxPageSize) Set up the maximum page size supported by this server.void
setOrganizationName
(String organizationName) Set up the name of the organization that is running the server.void
setRepositoryServicesConfig
(RepositoryServicesConfig repositoryServicesConfig) Set up the Open Metadata Repository Services (OMRS) config.void
setServerSecurityConnection
(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.void
setVersionId
(String versionId) Set up the versionId of this document.void
setViewServicesConfig
(List<ViewServiceConfig> viewServicesConfig) Set up the configuration for the registered Open Metadata View Services (OMVSs).toString()
Standard toString method.
-
Field Details
-
VERSION_ONE
- See Also:
-
VERSION_TWO
- See Also:
-
COMPATIBLE_VERSIONS
-
defaultLocalServerType
-
defaultMaxPageSize
public static final int defaultMaxPageSize- See Also:
-
-
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
-
getLocalServerDescription
Return the description of the local server.- Returns:
- String server description
-
setLocalServerDescription
Set up the description of the local server.- Parameters:
localServerDescription
- String local server description
-
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
-
getLocalServerType
Return the descriptive name for the server type.- Returns:
- String server type
-
setLocalServerType
Set up the descriptive name for the server type.- Parameters:
localServerType
- String server type
-
getOrganizationName
Return the name of the organization that is running the server.- Returns:
- String organization name
-
setOrganizationName
Set up the name of the organization that is running the server.- Parameters:
organizationName
- String organization name
-
getLocalServerURL
Return the base URL for calling the local server.- Returns:
- String URL
-
setLocalServerURL
Set up the base URL for calling the local server.- Parameters:
localServerURL
- String URL
-
getLocalServerUserId
Return the userId that the local server should use when processing events and there is no external user driving the operation.- Returns:
- user id
-
setLocalServerUserId
Set up the userId that the local server should use when processing events and there is no external user driving the operation.- Parameters:
localServerUserId
- string user id
-
getLocalServerPassword
Return the password that the local server should use on outbound REST calls (this is the password for the localServerUserId). Using userId's and passwords for server authentication is not suitable for production environments.- Returns:
- password in clear
-
setLocalServerPassword
Set up the password that the local server should use on outbound REST calls (this is the password for the localServerUserId). Using userId's and passwords for server authentication is not suitable for production environments.- Parameters:
localServerPassword
- password in clear
-
getMaxPageSize
public int getMaxPageSize()Return the maximum page size supported by this server.- Returns:
- int number of elements
-
setMaxPageSize
public void setMaxPageSize(int maxPageSize) Set up the maximum page size supported by this server.- Parameters:
maxPageSize
- int number of elements
-
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
-
getIntegrationServicesConfig
Return the configuration for the registered Open Metadata Integration Services (OMISs). Used in an integration daemon.- Returns:
- list of configuration properties, one for each OMIS
-
setIntegrationServicesConfig
Set up the configuration for the registered Open Metadata Integration Services (OMISs). Used in an integration daemon.- Parameters:
integrationServicesConfig
- list of configuration properties, one for each OMIS
-
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.
-
getEngineHostServicesConfig
Return the configuration for the engine host services that control an engine host OMAG Server.- Returns:
- properties for an engine host server
-
setEngineHostServicesConfig
Set up the configuration for the engine host services that control an engine host OMAG Server.- Parameters:
engineHostServicesConfig
- 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. -
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.
-