@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 |
|---|---|
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.
|
@RequestMapping(method=GET,
path="/configuration")
public OMAGServerConfigResponse getCurrentConfiguration(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the requestserverName - local server name@RequestMapping(method=POST,
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 serverCopyright © 2018–2019 ODPi. All rights reserved.