Class BasicServerProperties
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.BasicServerProperties
- Direct Known Subclasses:
OMAGServerConfig,ServerPropertiesRequestBody
ServerPropertiesRequestBody is the request body to add the basic server properties to an OMAG Server's configuration document.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.BasicServerProperties(BasicServerProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanValidate that an object is equal depending on their stored values.Return the description of the local server.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.intReturn the maximum page size supported by this server.Return the name of the organization that is running the server.Return the secrets collection to use for the connection to the remote server.Return the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.Return the class name of the secrets store provider.inthashCode()Return a hash code based on the values of this object.voidsetLocalServerDescription(String localServerDescription) Set up the description of the local server.voidsetLocalServerType(String localServerType) Set up the descriptive name for the server type.voidsetLocalServerURL(String localServerURL) Set up the root URL for this server that is used to construct full URL paths to calls for this server's REST interfaces.voidsetLocalServerUserId(String localServerUserId) Set up the userId that the local server should use when processing events and there is no external user driving the operation.voidsetMaxPageSize(int maxPageSize) Set up the maximum page size supported by this server.voidsetOrganizationName(String organizationName) Set up the name of the organization that is running the server.voidsetSecretsStoreCollection(String secretsStoreCollection) Set up the secrets collection to use for the connection to the remote server.voidsetSecretsStoreLocation(String secretsStoreLocation) Set up the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.voidsetSecretsStoreProvider(String secretsStoreProvider) Set up the class name of the secrets store provider.toString()Standard toString method.
-
Field Details
-
defaultLocalServerType
-
defaultMaxPageSize
public static final int defaultMaxPageSize- See Also:
-
-
Constructor Details
-
BasicServerProperties
public BasicServerProperties()Default constructor. -
BasicServerProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
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
-
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 root URL for this server that is used to construct full URL paths to calls for this server's REST interfaces. Typically, this is the URL root of the OMAG Server Platform Where the server is deployed to. However, it may be a DNS name - particularly if the server is deployed to multiple platforms for high availability (HA). The default value is "https://localhost:9443".- 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
-
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
-
getSecretsStoreProvider
Return the class name of the secrets store provider.- Returns:
- string
-
setSecretsStoreProvider
Set up the class name of the secrets store provider.- Parameters:
secretsStoreProvider- string
-
getSecretsStoreLocation
Return the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.- Returns:
- string
-
setSecretsStoreLocation
Set up the location information for the secrets store - this is stored in the endpoint network address for the secrets store connector.- Parameters:
secretsStoreLocation- string
-
getSecretsStoreCollection
Return the secrets collection to use for the connection to the remote server.- Returns:
- string
-
setSecretsStoreCollection
Set up the secrets collection to use for the connection to the remote server.- Parameters:
secretsStoreCollection- string
-
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
-
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.
-