@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigResource
extends Object
| Constructor and Description |
|---|
ConfigResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
deployOMAGServerConfig(String userId,
String serverName,
URLRequestBody destinationPlatform)
Push the configuration for the server to another OMAG Server Platform.
|
OMAGServerConfigResponse |
getCurrentConfiguration(String userId,
String serverName)
Return the stored configuration document for the server.
|
VoidResponse |
setOMAGServerConfig(String userId,
String serverName,
OMAGServerConfig omagServerConfig)
Set up the configuration properties for an OMAG Server in a single command.
|
@GetMapping(path="/configuration") public OMAGServerConfigResponse getCurrentConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@PostMapping(path="/configuration") public VoidResponse setOMAGServerConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody OMAGServerConfig omagServerConfig)
userId - user that is issuing the requestserverName - local server nameomagServerConfig - configuration for the server@PostMapping(path="/configuration/deploy") public VoidResponse deployOMAGServerConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody URLRequestBody destinationPlatform)
userId - user that is issuing the requestserverName - local server namedestinationPlatform - location of the platform where the config is to be deployed toCopyright © 2018–2020 ODPi. All rights reserved.