@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/view-services/server-author/users/{userId}/servers/{serverToBeConfiguredName}")
public class OperationalServicesViewResource
extends Object
| Constructor and Description |
|---|
OperationalServicesViewResource() |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthorConfigurationResponse |
activateWithStoredConfig(String userId,
String serverName,
String destinationPlatformName,
String serverToBeConfiguredName)
Activate the Open Metadata and Governance (OMAG) server using the configuration document stored for this server.
|
SuccessMessageResponse |
deactivatePermanently(String userId,
String serverName,
String destinationPlatformName,
String serverToBeConfiguredName)
Permanently deactivate any open metadata and governance services and unregister from
any cohorts.
|
ServerAuthorConfigurationResponse |
deactivateTemporarily(String userId,
String serverName,
String destinationPlatformName,
String serverToBeConfiguredName)
Temporarily deactivate any open metadata and governance services.
|
ServerAuthorConfigurationResponse |
getActiveConfiguration(String userId,
String serverName,
String destinationPlatformName,
String serverToBeConfiguredName)
Return the configuration used for the current active instance of the server.
|
@PostMapping(path="/instance") public ServerAuthorConfigurationResponse activateWithStoredConfig(@PathVariable String userId, @PathVariable String serverName, @PathVariable String destinationPlatformName, @PathVariable String serverToBeConfiguredName)
userId - user that is issuing the requestserverName - local server namedestinationPlatformName - Name of the platform where the server livesserverToBeConfiguredName - name of the server to be configured.@DeleteMapping(path="/instance") public ServerAuthorConfigurationResponse deactivateTemporarily(@PathVariable String userId, @PathVariable String serverName, @PathVariable String destinationPlatformName, @PathVariable String serverToBeConfiguredName)
userId - user that is issuing the requestserverName - local server namedestinationPlatformName - Name of the platform where the server livesserverToBeConfiguredName - name of the server to be configured.@DeleteMapping(path="") public SuccessMessageResponse deactivatePermanently(@PathVariable String userId, @PathVariable String serverName, @PathVariable String destinationPlatformName, @PathVariable String serverToBeConfiguredName)
userId - user that is issuing the requestserverName - local server namedestinationPlatformName - Name of the platform where the server livesserverToBeConfiguredName - name of the server to be configured.@GetMapping(path="/instance/configuration") public ServerAuthorConfigurationResponse getActiveConfiguration(@PathVariable String userId, @PathVariable String serverName, @PathVariable String destinationPlatformName, @PathVariable String serverToBeConfiguredName)
userId - user that is issuing the requestserverName - local server namedestinationPlatformName - Name of the platform where the server livesserverToBeConfiguredName - name of the server to be configured.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.