public class OMAGServerAdminServices extends Object
There are four types of operations defined by OMAGServerAdministration interface:
| Constructor and Description |
|---|
OMAGServerAdminServices() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
activateWithStoredConfig(String userId,
String serverName)
Activate the open metadata and governance services using the stored configuration information.
|
VoidResponse |
activateWithSuppliedConfig(String userId,
String serverName,
OMAGServerConfig configuration)
Activate the open metadata and governance services using the supplied configuration
document.
|
VoidResponse |
deactivatePermanently(String userId,
String serverName)
Terminate any open metadata and governance services.
|
VoidResponse |
deactivateTemporarily(String userId,
String serverName)
Temporarily deactivate any open metadata and governance services.
|
VoidResponse |
disableAccessServices(String userId,
String serverName)
Disable the access services.
|
VoidResponse |
disableCohortRegistration(String userId,
String serverName,
String cohortName)
Set up the mode for an open metadata repository cohort.
|
VoidResponse |
enableAccessServices(String userId,
String serverName,
Map<String,Object> accessServiceOptions)
Enable all access services that are installed into this server.
|
VoidResponse |
enableCohortRegistration(String userId,
String serverName,
String cohortName,
Map<String,Object> additionalProperties)
Enable registration of server to an open metadata repository cohort.
|
OMAGServerConfigResponse |
getCurrentConfiguration(String userId,
String serverName)
Return the complete set of configuration properties in use by the server.
|
VoidResponse |
setAccessServicesConfig(String userId,
String serverName,
List<AccessServiceConfig> accessServicesConfig)
Set up the configuration for all of the open metadata access services (OMASs).
|
VoidResponse |
setCohortConfig(String userId,
String serverName,
String cohortName,
CohortConfig cohortConfig)
Set up the configuration properties for a cohort.
|
VoidResponse |
setEnterpriseAccessConfig(String userId,
String serverName,
EnterpriseAccessConfig enterpriseAccessConfig)
Set up the configuration that controls the enterprise repository services.
|
VoidResponse |
setEventBus(String userId,
String serverName,
String connectorProvider,
String topicURLRoot,
Map<String,Object> additionalProperties)
Set up the default event bus for embedding in event-driven connector.
|
VoidResponse |
setGraphLocalRepository(String userId,
String serverName,
Map<String,Object> additionalProperties)
Set up a graph store as the local repository.
|
VoidResponse |
setInMemLocalRepository(String userId,
String serverName)
Set up an in memory local repository.
|
VoidResponse |
setLocalRepositoryConfig(String userId,
String serverName,
LocalRepositoryConfig localRepositoryConfig)
Set up the configuration for the local repository.
|
VoidResponse |
setLocalRepositoryEventMapper(String userId,
String serverName,
Connection connection)
Provide the connection to the local repository's event mapper if needed.
|
VoidResponse |
setLocalRepositoryEventMapper(String userId,
String serverName,
String connectorProvider,
String eventSource,
Map<String,Object> additionalProperties)
Provide the connection to the local repository's event mapper if needed.
|
VoidResponse |
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.
|
VoidResponse |
setNoRepositoryMode(String userId,
String serverName)
Remove all configuration for a local repository.
|
VoidResponse |
setOrganizationName(String userId,
String serverName,
String name)
Set up the name of the organization that is running this server.
|
VoidResponse |
setRepositoryProxyConnection(String userId,
String serverName,
Connection connection)
Provide the connection to the local repository - used when the local repository mode is set to repository proxy.
|
VoidResponse |
setRepositoryProxyConnection(String userId,
String serverName,
String connectorProvider,
Map<String,Object> additionalProperties)
Provide the connection to the local repository.
|
VoidResponse |
setServerType(String userId,
String serverName,
String typeName)
Set up the descriptive type of the server.
|
VoidResponse |
setServerURLRoot(String userId,
String serverName,
String url)
Set up the root URL for this server that is used to construct full URL paths to calls for
this server's REST interfaces.
|
VoidResponse |
setServerUserId(String userId,
String serverName,
String serverUserId)
Set up the user id to use when there is no external user driving the work (for example when processing events
from another server).
|
public VoidResponse setServerURLRoot(String userId, String serverName, String url)
userId - - user that is issuing the request.serverName - - local server name.url - - String url.public VoidResponse setServerType(String userId, String serverName, String typeName)
userId - - user that is issuing the request.serverName - - local server name.typeName - - short description for the type of server.public VoidResponse setOrganizationName(String userId, String serverName, String name)
userId - - user that is issuing the request.serverName - - local server name.name - - String name of the organization.public VoidResponse setServerUserId(String userId, String serverName, String serverUserId)
userId - - user that is issuing the request.serverName - - local server name.serverUserId - - String user is for the server.public VoidResponse setMaxPageSize(String userId, String serverName, int maxPageSize)
userId - - user that is issuing the request.serverName - - local server name.maxPageSize - - max number of elements that can be returned on a request.public VoidResponse setEventBus(String userId, String serverName, String connectorProvider, String topicURLRoot, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - connector provider for the event bus (if it is null then Kafka is assumed).topicURLRoot - the common root of the topics used by the open metadata server.additionalProperties - property name/value pairs used to configure the connection to the event bus connectorpublic VoidResponse enableAccessServices(String userId, String serverName, Map<String,Object> accessServiceOptions)
userId - user that is issuing the request.serverName - local server name.accessServiceOptions - property name/value pairs used to configure the access servicespublic VoidResponse disableAccessServices(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setInMemLocalRepository(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setGraphLocalRepository(String userId, String serverName, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.additionalProperties - additional properties for the event bus connectionpublic VoidResponse setNoRepositoryMode(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setRepositoryProxyConnection(String userId, String serverName, Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository connector.public VoidResponse setRepositoryProxyConnection(String userId, String serverName, String connectorProvider, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - connector provider class name to the OMRS repository connector.additionalProperties - additional parameters to pass to the repository connectorpublic VoidResponse setLocalRepositoryEventMapper(String userId, String serverName, Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository event mapper.public VoidResponse setLocalRepositoryEventMapper(String userId, String serverName, String connectorProvider, String eventSource, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - Java class name of the connector provider for the OMRS repository event mapper.eventSource - topic name or URL to the native event source.additionalProperties - additional properties for the event mapper connectionpublic VoidResponse enableCohortRegistration(String userId, String serverName, String cohortName, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.public VoidResponse disableCohortRegistration(String userId, String serverName, String cohortName)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.public VoidResponse setAccessServicesConfig(String userId, String serverName, List<AccessServiceConfig> accessServicesConfig)
userId - user that is issuing the request.serverName - local server name.accessServicesConfig - list of configuration properties for each access service.public VoidResponse setLocalRepositoryConfig(String userId, String serverName, LocalRepositoryConfig localRepositoryConfig)
userId - user that is issuing the request.serverName - local server name.localRepositoryConfig - configuration properties for the local repository.public VoidResponse setEnterpriseAccessConfig(String userId, String serverName, EnterpriseAccessConfig enterpriseAccessConfig)
userId - user that is issuing the requestserverName - local server nameenterpriseAccessConfig - enterprise repository services configuration properties.public VoidResponse setCohortConfig(String userId, String serverName, String cohortName, CohortConfig cohortConfig)
userId - user that is issuing the requestserverName - local server namecohortName - name of the cohortcohortConfig - configuration for the cohortpublic OMAGServerConfigResponse getCurrentConfiguration(String userId, String serverName)
userId - user that is issuing the requestserverName - local server namepublic VoidResponse activateWithStoredConfig(String userId, String serverName)
userId - user that is issuing the requestserverName - local server namepublic VoidResponse activateWithSuppliedConfig(String userId, String serverName, OMAGServerConfig configuration)
userId - user that is issuing the requestconfiguration - properties used to initialize the servicesserverName - local server namepublic VoidResponse deactivateTemporarily(String userId, String serverName)
userId - - user that is issuing the requestserverName - - local server namepublic VoidResponse deactivatePermanently(String userId, String serverName)
userId - user that is issuing the requestserverName - local server nameCopyright © 2017–2018 ODPi. All rights reserved.