@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class OperationalServicesResource
extends Object
| Constructor and Description |
|---|
OperationalServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
SuccessMessageResponse |
activateWithStoredConfig(String userId,
String serverName)
Activate the Open Metadata and Governance (OMAG) server using the configuration document stored for this server.
|
SuccessMessageResponse |
activateWithSuppliedConfig(String userId,
String serverName,
OMAGServerConfig configuration)
Activate the open metadata and governance services using the supplied configuration
document.
|
VoidResponse |
addOpenMetadataArchiveFile(String userId,
String serverName,
Connection connection)
Add a new open metadata archive to running repository.
|
VoidResponse |
addOpenMetadataArchiveFile(String userId,
String serverName,
String fileName)
Add a new open metadata archive to running repository.
|
VoidResponse |
deactivatePermanently(String userId,
String serverName)
Permanently deactivate any open metadata and governance services and unregister from
any cohorts.
|
VoidResponse |
deactivateTemporarily(String userId,
String serverName)
Temporarily deactivate any open metadata and governance services.
|
OMAGServerConfigResponse |
getActiveConfiguration(String userId,
String serverName)
Return the configuration used for the current active instance of the server.
|
@PostMapping(path="/instance") public SuccessMessageResponse activateWithStoredConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@PostMapping(path="/instance/configuration") public SuccessMessageResponse activateWithSuppliedConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody OMAGServerConfig configuration)
userId - user that is issuing the requestconfiguration - properties used to initialize the servicesserverName - local server name@DeleteMapping(path="/instance") public VoidResponse deactivateTemporarily(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@DeleteMapping(path="") public VoidResponse deactivatePermanently(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@GetMapping(path="/instance/configuration") public OMAGServerConfigResponse getActiveConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the requestserverName - local server name@PostMapping(path="/instance/open-metadata-archives/file") public VoidResponse addOpenMetadataArchiveFile(@PathVariable String userId, @PathVariable String serverName, @RequestBody String fileName)
userId - user that is issuing the request.serverName - local server name.fileName - name of the open metadata archive file.@PostMapping(path="/instance/open-metadata-archives/connection") public VoidResponse addOpenMetadataArchiveFile(@PathVariable String userId, @PathVariable String serverName, @RequestBody Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection for the open metadata archive.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.