@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}/discovery-engine-services")
public class ConfigDiscoveryEngineServicesResource
extends Object
| Constructor and Description |
|---|
ConfigDiscoveryEngineServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearDiscoveryEngineServicesConfig(String userId,
String serverName)
Remove this service from the server configuration.
|
DiscoveryEngineServicesConfigResponse |
getDiscoveryEngineServicesConfig(String userId,
String serverName)
Get the configuration for the discovery engine services for this server.
|
VoidResponse |
setClientConfig(String userId,
String serverName,
OMAGServerClientConfig clientConfig)
Set up the name and platform URL root for the metadata server supporting this discovery server.
|
VoidResponse |
setDiscoveryEngines(String userId,
String serverName,
List<String> discoveryEngines)
Set up the list of discovery engines that are to run in the discovery service.
|
VoidResponse |
setDiscoveryEngineServicesConfig(String userId,
String serverName,
DiscoveryEngineServicesConfig servicesConfig)
Add this service to the server configuration in one call.
|
public ConfigDiscoveryEngineServicesResource()
@PostMapping(path="/client-config") public VoidResponse setClientConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody OMAGServerClientConfig clientConfig)
userId - user that is issuing the request.serverName - local server name.clientConfig - URL root and server name for the metadata server.@PostMapping(path="/discovery-engines") public VoidResponse setDiscoveryEngines(@PathVariable String userId, @PathVariable String serverName, @RequestBody List<String> discoveryEngines)
userId - user that is issuing the request.serverName - local server name.discoveryEngines - discoveryEngines for server.@PostMapping(path="") public VoidResponse setDiscoveryEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody DiscoveryEngineServicesConfig servicesConfig)
userId - user that is issuing the request.serverName - local server name.servicesConfig - full configuration for the service.@GetMapping(path="") public DiscoveryEngineServicesConfigResponse getDiscoveryEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@DeleteMapping(path="") public VoidResponse clearDiscoveryEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.Copyright © 2018–2020 ODPi. All rights reserved.