public interface UIServerAdministration
There are four types of operations supported by UIServerAdministration:
| Modifier and Type | Method and Description |
|---|---|
void |
activateWithStoredConfig(String userId,
String serverName)
Activate the open metadata and governance services using the stored configuration information.
|
void |
activateWithSuppliedConfig(String userId,
String serverName,
UIServerConfig configuration)
Activate the open metadata and governance services using the supplied configuration
document.
|
void |
deactivatePermanently(String userId,
String serverName)
Permanently deactivate any open metadata and governance services and unregister from
any cohorts.
|
void |
deactivateTemporarily(String userId,
String serverName)
Temporarily deactivate any open metadata and governance services.
|
UIServerConfig |
getCurrentConfiguration(String userId,
String serverName)
Return the complete set of configuration properties in use by the server.
|
String |
getServerOrigin()
Return the origin of this server implementation.
|
void |
setMaxPageSize(String userId,
String serverName,
int maxPageSize)
Set an upper limit in the page size that can be requested on a REST call to the server.
|
void |
setOrganizationName(String userId,
String serverName,
String organizationName)
Set up the name of the organization that is running this server.
|
void |
setServerType(String userId,
String serverName,
String serverType)
Set up the descriptive type of the server.
|
void |
setServerURLRoot(String userId,
String serverName,
String serverURLRoot)
Set up the root URL for this server that is used to construct full URL paths to calls for
this server's REST interfaces.
|
void |
setServerUserId(String userId,
String serverName,
String id)
Set up the user id to use when there is no external user driving the work (for example when processing events
from another server).
|
String getServerOrigin()
void setServerURLRoot(String userId, String serverName, String serverURLRoot) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the request.serverName - local server name.serverURLRoot - String url.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - invalid serverName or serverURLRoot parameter.void setServerType(String userId, String serverName, String serverType) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the request.serverName - local server name.serverType - short description for the type of server.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - invalid serverName or serverType parameter.void setOrganizationName(String userId, String serverName, String organizationName) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the request.serverName - local server name.organizationName - String name of the organization.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - invalid serverName or organizationName parameter.void setServerUserId(String userId, String serverName, String id) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the request.serverName - local server name.id - String user is for the server.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command.InvalidParameterException - invalid serverName or serverURLRoot parameter.void setMaxPageSize(String userId, String serverName, int maxPageSize) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the request.serverName - local server name.maxPageSize - max number of elements that can be returned on a request.OMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - invalid serverName or organizationName parameter.UIServerConfig getCurrentConfiguration(String userId, String serverName) throws OMAGNotAuthorizedException, InvalidParameterException
userId - - user that is issuing the requestserverName - - local server nameOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - invalid serverName parameter.void activateWithStoredConfig(String userId, String serverName) throws OMAGNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorException
userId - - user that is issuing the requestserverName - - local server nameOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - the server name is invalid orOMAGConfigurationErrorException - there is a problem using the supplied configuration.void activateWithSuppliedConfig(String userId, String serverName, UIServerConfig configuration) throws OMAGNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorException
userId - - user that is issuing the requestconfiguration - - properties used to initialize the servicesserverName - - local server nameOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - the server name is invalid orOMAGConfigurationErrorException - there is a problem using the supplied configuration.void deactivateTemporarily(String userId, String serverName) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the requestserverName - local server nameOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - the serverName is invalid.void deactivatePermanently(String userId, String serverName) throws OMAGNotAuthorizedException, InvalidParameterException
userId - user that is issuing the requestserverName - local server nameOMAGNotAuthorizedException - the supplied userId is not authorized to issue this command orInvalidParameterException - the serverName is invalid.Copyright © 2018–2019 ODPi. All rights reserved.