@RestController
@RequestMapping(value="/open-metadata/ui-admin-services/users/{userId}/servers/{serverName}")
public class UIOperationalServicesResource
extends Object
| Constructor and Description |
|---|
UIOperationalServicesResource() |
| 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,
UIServerConfig configuration)
Activate the open metadata and governance services using the supplied configuration
document.
|
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.
|
UIServerConfigResponse |
getActiveConfiguration(String userId,
String serverName)
Return the configuration used for the current active instance of the server.
|
@PostMapping(path="/instance") public SuccessMessageResponse activateWithStoredConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@PostMapping(path="/instance/configuration") public SuccessMessageResponse activateWithSuppliedConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody UIServerConfig configuration)
userId - user that is issuing the requestconfiguration - properties used to initialize the servicesserverName - local server name@DeleteMapping(path="/instance") public VoidResponse deactivateTemporarily(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@DeleteMapping(path="") public VoidResponse deactivatePermanently(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@GetMapping(path="/instance/configuration") public UIServerConfigResponse getActiveConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server nameCopyright © 2018–2020 ODPi. All rights reserved.