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