@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class OperationalServicesResource
extends Object
| Constructor and Description |
|---|
OperationalServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
SuccessMessageResponse |
activateWithStoredConfig(String userId,
String serverName)
Activate the open metadata and governance services using the stored configuration information.
|
SuccessMessageResponse |
activateWithSuppliedConfig(String userId,
String serverName,
OMAGServerConfig configuration)
Activate the open metadata and governance services using the supplied configuration
document.
|
VoidResponse |
addOpenMetadataArchiveFile(String userId,
String serverName,
String fileName)
Add a new open metadata archive to running repository.
|
VoidResponse |
deactivatePermanently(String userId,
String serverName)
Permanently deactivate any open metadata and governance services and unregister from
any cohorts.
|
VoidResponse |
deactivateTemporarily(String userId,
String serverName)
Temporarily deactivate any open metadata and governance services.
|
OMAGServerConfigResponse |
getActiveConfiguration(String userId,
String serverName)
Return the configuration used for the current active instance of the server.
|
@RequestMapping(method=POST,
path="/instance")
public SuccessMessageResponse activateWithStoredConfig(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the requestserverName - local server name@RequestMapping(method=POST,
path="/instance/configuration")
public SuccessMessageResponse activateWithSuppliedConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
OMAGServerConfig configuration)
userId - user that is issuing the requestconfiguration - properties used to initialize the servicesserverName - local server name@RequestMapping(method=DELETE,
path="/instance")
public VoidResponse deactivateTemporarily(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the requestserverName - local server name@RequestMapping(method=DELETE,
path="")
public VoidResponse deactivatePermanently(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the requestserverName - local server name@RequestMapping(method=GET,
path="/instance/configuration")
public OMAGServerConfigResponse getActiveConfiguration(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the requestserverName - local server name@RequestMapping(method=POST,
path="/instance/open-metadata-archives/file")
public VoidResponse addOpenMetadataArchiveFile(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
String fileName)
userId - user that is issuing the request.serverName - local server name.fileName - name of the open metadata archive file.Copyright © 2018–2019 ODPi. All rights reserved.