@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}/stewardship-engine-services")
public class ConfigStewardshipEngineServicesResource
extends Object
| Constructor and Description |
|---|
ConfigStewardshipEngineServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearStewardshipEngineServicesConfig(String userId,
String serverName)
Remove this service from the server configuration.
|
StewardshipEngineServicesConfigResponse |
getStewardshipEngineServicesConfig(String userId,
String serverName)
Get the configuration for the stewardship engine services for this server.
|
VoidResponse |
setClientConfig(String userId,
String serverName,
OMAGServerClientConfig clientConfig)
Set up the name and platform URL root for the metadata server supporting this stewardship server.
|
VoidResponse |
setStewardshipEngines(String userId,
String serverName,
List<String> stewardshipEngines)
Set up the list of stewardship engines that are to run in the stewardship service.
|
VoidResponse |
setStewardshipEngineServicesConfig(String userId,
String serverName,
StewardshipEngineServicesConfig servicesConfig)
Add this service to the server configuration in one call.
|
public ConfigStewardshipEngineServicesResource()
@PostMapping(path="/client-config") public VoidResponse setClientConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody OMAGServerClientConfig clientConfig)
userId - user that is issuing the request.serverName - local server name.clientConfig - URL root and server name for the metadata server.@PostMapping(path="/stewardship-engines") public VoidResponse setStewardshipEngines(@PathVariable String userId, @PathVariable String serverName, @RequestBody List<String> stewardshipEngines)
userId - user that is issuing the request.serverName - local server name.stewardshipEngines - stewardshipEngines for server.@PostMapping(path="") public VoidResponse setStewardshipEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody StewardshipEngineServicesConfig servicesConfig)
userId - user that is issuing the request.serverName - local server name.servicesConfig - full configuration for the service.@GetMapping(path="") public StewardshipEngineServicesConfigResponse getStewardshipEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@DeleteMapping(path="") public VoidResponse clearStewardshipEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.Copyright © 2018–2020 ODPi. All rights reserved.