@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/view-services/server-author/users/{userId}")
public class ConfigViewResource
extends Object
| Constructor and Description |
|---|
ConfigViewResource() |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthorConfigurationResponse |
deployOMAGServerConfig(String userId,
String serverName,
String serverBeingDeployedName,
String destinationPlatformName)
Push the configuration for the server to another OMAG Server Platform.
|
ServerAuthorPlatformsResponse |
getKnownPlatforms(String userId,
String serverName)
Return the known platforms
|
ServerAuthorConfigurationResponse |
getStoredConfiguration(String userId,
String serverName,
String serverBeingRetrievedName)
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="/platforms") public ServerAuthorPlatformsResponse getKnownPlatforms(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@GetMapping(path="/servers/{serverBeingRetrievedName}/configuration")
public ServerAuthorConfigurationResponse getStoredConfiguration(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serverBeingRetrievedName)
userId - user that is issuing the requestserverName - local server nameserverBeingRetrievedName - name of the server to be retrieved for configuration.@PostMapping(path="/servers/{serverBeingConfiguredName}/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="/servers/{serverBeingDeployedName}/configuration/deploy")
public ServerAuthorConfigurationResponse deployOMAGServerConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serverBeingDeployedName,
@RequestParam(value="destinationPlatformName")
String destinationPlatformName)
userId - user that is issuing the requestserverName - local server nameserverBeingDeployedName - name of the server to be configured.destinationPlatformName - name of the platform where the config is to be deployed toCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.